/*
Theme Name: Custom
Theme URI: http://adventus.bg
Author: Adventus
Author URI: http://adventus.bg
Description: Adventus
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html,
body,
#page {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}
a,
a:visited {
  color: #1e5486;
}
a:focus,
select,
input,
textarea,
button {
  outline: none !important;
}
img {
  vertical-align: middle;
}
.btn,
.wpcf7-submit,
.search-submit,
.wpbce-link {
  background: #e3060f;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  padding: 9px 11px 7px 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
  border: 2px solid #fff;
  cursor: pointer;
}
.btn:hover,
.wpcf7-submit:hover,
.search-submit:hover,
.wpbce-link:hover {
  filter: brightness(1.20);
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  color: #1e5486;
}
.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}
.vc_sep_line {
  border-bottom-style: none;
}
h3 {
  margin-top: 60px;
  font-weight: 500;
}
.hentry table,
.hentry table th,
.hentry table td {
    border: none !important;
}
.hentry table th,
.hentry table td {
    padding: 0 8px 2px 8px;
    border-bottom: 1px dashed red !important;
    border-right: 1px dashed red !important;
}
.hentry table tr th:last-child,
.hentry table tr td:last-child {
    border-right: none !important;
}
.hentry table tr:last-child td {
    border-bottom: none !important;
}
.hentry table p {
  margin: 0;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-thumbnail {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}
.post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: inherit;
}
.nav-subtitle {
  display: block;
  font-size: 0.8em;
  color: #d9e8f5;
  margin-bottom: 2px;
}
.nav-title {
  font-weight: bold;
  font-size: 1.1em;
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #1e5486;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.sticky {
  border: 2px solid #0073aa;
  background-color: #f9f9f9;
  padding: 10px;
}
.gallery-caption {
  font-style: italic;
  color: #666;
  text-align: center;
  margin-top: 5px;
}
.bypostauthor {
  border-left: 3px solid #0073aa;
  background-color: #eef6fb;
  padding: 5px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem;
  background-color: #f5f7fa;
  border-bottom: 1px solid #dcdcdc;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure container inside header doesn't limit width */
.site-header .container {
  max-width: 100%;
  width: 100%;
}
.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/*------------------------------- NAVIGATION -----------------------------*/
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.entry-content a:focus,
.comment-content a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}
.entry-content a,
.comment-content a,
.widget_text a {
  text-decoration: underline;
}
.entry-content a:hover,
.comment-content a:hover,
.widget_text a:hover {
  text-decoration: none;
}
.sub-menu {
  display: none;
}
.toggled .sub-menu a:focus {
  background-color: #f0f0f0;
  outline-offset: 2px;
}
.sub-menu.toggled {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/*----------------------------- Footer -----------------------------*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1e5486;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
  border: 2px solid #fff;
}
.back-to-top:hover {
  background: #005a8c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
}
.back-to-top:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}
.back-to-top .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@keyframes backToTopFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.back-to-top.show {
  animation: backToTopFadeIn 0.3s ease-out;
}

/* Index php code */
/* Post grid layout */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Page title */
.page-header .page-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Post content block */
.post {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}

.post:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.entry-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e2e2;
  color: #555;
  line-height: 1.6;
}

.entry-footer span {
  display: inline-block;
  vertical-align: middle;
}

.entry-footer a {
  color: #0073aa;
  text-decoration: none;
}

.entry-footer a:hover {
  text-decoration: underline;
}

/* Tag and Category Styling */
.tags-links,
.cat-links {
  display: inline-block;
  margin-right: 1rem;
  flex: 1;
}

.tags-links a,
.cat-links a {
  display: inline-block;
  background-color: #f0f4ff;
  color: #4169e1;
  padding: 0.3rem 0.8rem;
  margin: 0.2rem 0.3rem 0.2rem 0;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid #e0e8ff;
  transition: all 0.3s ease;
}

.tags-links a:hover,
.cat-links a:hover {
  background-color: #4169e1;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(65, 105, 225, 0.2);
}

/* Category links with different styling */
.cat-links a {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeaa7;
}

.cat-links a:hover {
  background-color: #856404;
  color: #fff;
  box-shadow: 0 2px 4px rgba(133, 100, 4, 0.2);
}

.widget-area {
  background-color: #f9f9f9;
  padding: 2rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 20px 15px;
}

/* Individual Widgets */
.widget {
  margin-bottom: 2rem;
}

/* Headings inside widgets */
.widget h2,
.widget .wp-block-heading {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  color: #333;
}

/* Search Form */
.wp-block-search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wp-block-search__inside-wrapper {
  display: flex;
}

.wp-block-search__input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}

.wp-block-search__button {
  padding: 0.5rem 1rem;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.wp-block-search__button:hover {
  background-color: #005a8c;
}

/* Latest Posts & Comments */
.wp-block-latest-posts__list,
.wp-block-latest-comments,
.wp-block-archives,
.wp-block-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-latest-posts__list li,
.wp-block-latest-comments__comment,
.wp-block-archives li,
.wp-block-categories li {
  margin-bottom: 0.75rem;
}

.wp-block-latest-posts__post-title,
.wp-block-archives-list a,
.wp-block-categories-list a,
.wp-block-latest-comments__comment-link {
  text-decoration: none;
  color: #0073aa;
}

.wp-block-latest-posts__post-title:hover,
.wp-block-archives-list a:hover,
.wp-block-categories-list a:hover,
.wp-block-latest-comments__comment-link:hover {
  text-decoration: underline;
  color: #005a8c;
}

/* Comment meta */
.wp-block-latest-comments__comment-meta {
  font-size: 0.95rem;
  color: #555;
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e5486;
}

.entry-content {
  line-height: 1.7;
  color: #1e5486;
}

.entry-content p {
  margin-bottom: 1.2em;
}

.page-links {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.entry-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Post Title */
.entry-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #1e5486;
}

/* Post Meta */
.entry-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.5rem;
}

.nav-subtitle {
  display: block;
  font-size: 12px;
  color: #ccc;
}

.nav-title {
  display: block;
  font-weight: bold;
  font-size: 16px;
}

/* === Archive Page Styles === */

.page-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.page-title {
  font-size: 2rem;
  margin: 0;
  color: #1e5486;
}

.archive-description {
  color: #666;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.archive-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Search Results Page Styles */
.page-header {
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
  text-align: center;
}

.page-header .page-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
}

/* No Results Section */
.no-results {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

/* Heading */
.no-results .page-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

/* Message Text */
.no-results .page-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Search Form */
.no-results .search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.no-results .search-form input[type="search"] {
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 250px;
}

.no-results .search-form input[type="submit"] {
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.no-results .search-form input[type="submit"]:hover {
  background-color: #005177;
}

article {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}
article:last-of-type {
  border-bottom: none;
}
article.post {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
article.post:last-of-type {
  border-bottom: none;
}
.entry-title {
  margin-bottom: 0.5rem;
}
.entry-title,
.entry-title a {
  margin: 0;
  word-wrap: break-word;
  /* Break long words */
  overflow-wrap: break-word;
  /* Modern equivalent */
  word-break: break-word;
  /* Extra safety */
  hyphens: auto;
  /* Add hyphens if browser supports */
}
.entry-meta {
  color: #777;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.post-thumbnail {
  margin-bottom: 1rem;
}

/*-------------------------------------------------------
------------------------- Custom ------------------------
-------------------------------------------------------*/
body {
  color: #1e5486;
  font:
    normal 20px / 1.6 "Montserrat",
    sans-serif;
}
.wrapper {
  margin: 0 auto;
  max-width: 1300px;
  padding-left: 15px;
  padding-right: 15px;
}
.site-main {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 0 50px;
}
.container,
.site-header .container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  border: none;
}
body.home main#primary {
  padding-top: 50px;
}
.clients_logos_section .vc-hoverbox-inner {
  min-height: 12vw !important;
}
.clients_logos_section .vc_column_container>.vc_column-inner {
  padding-left: 0;
  padding-right: 0;
}
.clients_logos_section .vc-hoverbox-front-inner {
  padding: 0;
}
.clients_logos_section .vc-hoverbox-front-inner h2 {
  font-size: 1em;
}
.clients_logos_section .vc-hoverbox-back-inner h2 {
  font-size: 0.8em;
  line-height: 1.6;
}
.clients_logos_section .vc-hoverbox-block {
  background-size: 60%;
  background-repeat: no-repeat;
}
#page-title {
  padding: 50px 0 40px;
  background-image: url("images/pattern.webp");
  background-position: 0 3px;
}
#page-title h1 {
  max-width: 1300px;
  margin: 0 auto;
  font-weight: 100;
  text-transform: uppercase;
}
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
  border-color: #1e5486;
}
.woocommerce nav.woocommerce-pagination ul {
  border-radius: 3px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 2em;
}
.services_section .vc_column_container {
  width: 11.11%!important;
}
.services_section .vc_column_container .hover-card-container .t {
  font-size: 14px;
}

/*------------------ WPBackery Page Builder ------------------*/
.wpbce-button-with-text {
  text-align: center;
}
.wpbce-button-with-text .wpbce-text {
  display: inline-block;
}
.wpbce-button-with-text .wpbce-link {
  display: inline-block;
  padding: 5px 13px;
  margin-left: 17px;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .vc_col-sm-1\/5 {
    float: left;
    width: 33%!important;
  }
}
@media (max-width: 730px) {
  .vc_col-sm-1\/5 {
    float: left;
    width: 50%!important;
  }
}
@media (max-width: 468px) {
  .vc_col-sm-1\/5 {
    float: none;
    width: 100%!important;
  }
}
@media (max-width: 768px) {
  .vc_col-sm-3 {
    float: left;
    width: 50%!important;
  }
}
@media (max-width: 468px) {
  .vc_col-sm-3 {
    float: none;
    width: 100%!important;
  }
}
/*--------------------- end WPBackery Page Builder --------------------*/
/*----------------------- Catalog -------------------------*/
.woof_products_top_panel,
.woof_container_inner.woof_container_inner_ h4,
.wc-block-breadcrumbs,
.wp-block-woocommerce-product-button,
.wp-block-add-to-cart-form,
.wp-block-woocommerce-product-price,
.woocommerce-product-gallery__trigger,
.woocommerce ul.products li.product .price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  display: none !important;
}
.woof_redraw_zone {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.woof_redraw_zone > div {
  flex: 1 1 calc(33.333% - 10px);
  /* flex: 1 1 calc(50% - 10px); */
  box-sizing: border-box;
}
.woof_price_search_container form .price_slider_wrapper {
  flex-direction: column;
}
/*----------------------- slider --------------------------*/
#nice-slider {
  position: relative;
  width: 100%;
  font-size: 0;
  clear: both;
}
#nice-slider .slider-inner {
  max-height: 434px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
#nice-slider ul {
  position: relative;
  list-style: none;
  padding: 0;
  box-sizing: border-box;
}
#nice-slider li {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  box-sizing: border-box;
}
#nice-slider li.ns-show {
  opacity: 1;
}
#nice-slider .ns-img {
  background-color: rgba(255, 255, 255, 0.8);
  height: 434px;
  cursor: default;
  display: block;
  position: absolute;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
#nice-slider .caption {
  position: absolute;
  width: 100%;
  text-align: center;
  /* bottom: calc((100% - 20px) / 2); */
  /* bottom: 50%; */
  top: 200px;
  padding: 0 100px;
  box-sizing: border-box;
  text-shadow:
    2px 2px 0 #495f8a,
    2px -2px 0 #495f8a,
    -2px -2px 0 #495f8a,
    -2px 2px 0 #495f8a;
  text-transform: uppercase;
  font:
    600 34px/1.2 "Montserrat",
    sans-serif;
  letter-spacing: 3px;
  word-spacing: 6px;
  color: #fff;
}
#nice-slider li.ns-show .caption {
  -webkit-animation: titleAnimation 8s linear both;
  animation: titleAnimation 8s linaer both;
}
#nice-slider li.sl-0 .caption {
  -webkit-animation: none;
  animation: none;
  display: none;
}
@keyframes titleAnimation {
  0% {
    opacity: 0;
    transform: translateX(2%);
    filter: blur(10px);
  }
  22% {
    opacity: 1;
    filter: blur(0);
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-2%);
    filter: blur(10px);
  }
}
.over-slider {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}
.over-slider .wrap {
  position: relative;
  margin: 0 auto;
  max-width: 1300px;
  width: 100%;
  height: 100%;
}
.over-slider .shd3 {
  height: 67px;
  width: 690px;
  transform: rotate(180deg);
  bottom: 0;
  position: absolute;
  right: 0;
  background: url("images/shd2.webp") no-repeat 0 0 / contain;
  opacity: 0.8;
}
#nice-slider-pager,
#nice-slider-prev,
#nice-slider-next,
#nice-slider-pause-play {
  display: none;
}
body.non-home #nice-slider .ns-img {
  background-position: center center;
}
/*----------------------- end slider -----------------------*/
/*----------------------- inputs ---------------------------*/
.woocommerce ul.products li.product .button,
.summary form.cart {
  display: none;
}
.chosen-container-multi .chosen-choices,
.woof_container .woof_container_inner input[type="search"] {
  border-color: #1e5486;
  border-radius: 3px;
}
.chosen-container-multi .chosen-choices li.search-choice {
  padding: 6px 20px 6px 5px;
  border: none;
  background-color: #e9e6ed;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  font:
    400 14px "Montserrat",
    sans-serif;
}
select.orderby {
  font:
    400 14px "Montserrat",
    sans-serif;
  padding: 8px;
  border-color: #1e5486;
  color: #1e5486;
}
input[type="text"],
input[type="email"],
input[type="search"],
select {
  color: #1e5486;
  font:
    400 14px "Montserrat",
    sans-serif;
  padding: 8px;
  border-radius: 3px;
  border-color: #1e5486;
  border-width: 1px;
}
textarea {
  color: #1e5486;
  font:
    400 14px "Montserrat",
    sans-serif;
  padding: 8px;
  border-radius: 3px;
  border-color: #1e5486;
  border-width: 1px;
}
.input-text.qty.text {
  color: #1e5486;
  font:
    400 14px "Montserrat",
    sans-serif;
  padding: 8px 1px;
}
.woof_block_html_items .chosen-container {
  width: 100% !important;
}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background-color: #d5d5d5;
  margin-top: 5px;
  margin-bottom: 12px;
}
.woocommerce .woocommerce-ordering {
  margin: 0 0 2em;
}
.woof_price_search_container .price_slider_amount .price_label {
  line-height: 1;
}
.woof_submit_search_form_container {
  margin-top: 0;
}
.woof_reset_search_form {
  width: 100%;
}
.get-quote-link .btn {
  color: #fff;
  text-decoration: none;
}
/*--------------------------- end inputs ----------------------------*/
/*--------------------------- search results ------------------------*/
.search-result-list {
  padding: 0;
  margin: 0;
  list-style-position: inside;
  list-style: none;
}
.search-result-list li {
  border-bottom: 1px dashed #1e5486;
}
.search-result-list a {
  display: flex;
  align-items: center;
}
.search-result-list a:hover {
  box-shadow: 0 0 0 1px #1e5486;
}
.search-result-list img {
  max-width: 200px;
  max-height: 200px;
  margin-right: 15px;
  object-fit: contain;
}
/*--------------------------- end search results --------------------*/
/*--------------------------- Contact form 7 ------------------------*/
.wpcf7 #captcha_image {
  float: left;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
}
.wpcf7 .cf7-captcha-container {
  display: inline-block;
}
.wpcf7 #captcha_input {
  float: left;
  width: 68px;
}
.wpcf7 #captcha_btn {
  float: left;
  height: 36px;
  width: 40px;
  border-color: #1e5486;
  border-radius: 0;
  border-width: 0;
  cursor: pointer;
}
.wpcf7 #captcha_btn img {
  height: 34px !important;
  width: 34px !important;
  margin: 0 !important;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
}
/*--------------------------- end constact form 7 ---------------*/
/*--------------------------- header ----------------------------*/
.top-line .wrap {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 0;
}
.logo-link {
  max-width: 387px;
  float: left;
  user-select: none;
  margin-bottom: 20px;
}
.logo-link img {
  width: 100%;
  filter: drop-shadow(0 0 68px #ffffff) drop-shadow(0 0 40px #ffffff77)
    drop-shadow(0 0 3px #ffffff) drop-shadow(0 -1px 0 #ffffff);
}
.top-line {
  position: relative;
  z-index: 200;
  height: 166px;
  width: 100%;
  box-shadow: 0 0 9px #00000022;
  background: linear-gradient(180deg,rgba(240, 240, 240, 1) 0%, rgba(255, 255, 255, 1) 100%);
}
.shd2 {
  position: absolute;
  top: 0;
  left: -240px;
  height: 67px;
  width: 690px;
  opacity: 0.6;
  background: url("images/shd2.webp") no-repeat 0 0 / contain;
}
.shd22 {
  position: absolute;
  left: -240px;
  height: 67px;
  width: 690px;
  background: url("images/shd2.webp") no-repeat 0 0 / contain;
}
.shd4 {
  position: absolute;
  bottom: -42px;
  left: -240px;
  height: 42px;
  width: 690px;
  background: url("images/shd2.webp") no-repeat 0 0 / 100% 42px;
  opacity: 0.8;
}
body.non-home #nice-slider .slider-inner,
body.non-home .over-slider .shd3,
body.non-home .over-slider .shd22 {
  display: none;
}
body.non-home .over-slider,
body.non-home .slider-inner {
  height: 0;
}
/*----------------------------- end header ------------------------*/
/*----------------------------- header nav ------------------------*/
.header_nav {
  position: relative;
  float: right;
  padding: 60px 0 0;
}
.header_nav .main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  position: relative;
}
.header_nav .nav-list > li {
  position: relative;
}
.header_nav .nav-list a {
  font-size: 16px;
  text-decoration: none;
  padding: 10px 8px;
  display: block;
  filter: drop-shadow(0 0 13px #ffffff44) drop-shadow(0px -1px 0 #ffffff44) drop-shadow(1px 1px 0 #ffffffaa);
  user-select: none;
  text-transform: uppercase;
  font-weight: 600;
  /* letter-spacing: 0.5px; */
}
.header_nav .nav-list a:hover {
  text-shadow:
    -1px -1px 0 #ffffff66,
    1px 1px 0 #00000066;
}
.header_nav .nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background-color: #fff;
  box-shadow: 0 4px 9px #00000044;
  list-style: none;
  margin: 0;
  padding: 10px;
  z-index: 1000;
  border-radius: 0 0 25px 25px;
}
.header_nav .nav-list .sub-menu li {
  width: 100%;
}
.header_nav .nav-list .sub-menu a {
  padding: 10px;
  line-height: 1.2;
}
.header_nav .nav-list li:hover > .sub-menu {
  display: block;
}
.header_nav .current-menu-item > a {
  text-decoration: underline;
}
.header_nav .hamburger {
  display: none;
  flex-direction: column;
  float: right;
  cursor: pointer;
  padding: 7px 0;
}
.header_nav span {
  width: 35px;
  height: 2px;
  background-color: #1e5486;
  filter: drop-shadow(0 0 25px #ffffff44) drop-shadow(0 -1px 0 white);
  margin: 3px 0;
}
.header_nav .nav-list > li.menu-item-has-children > a {
  position: relative;
  padding-right: 25px;
}
.header_nav .nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #1e5486;
  vertical-align: middle;
  margin-left: 6px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.header_nav .nav-list > li.menu-item-has-children > a.dropdown-active::after {
  border-top: none;
  border-bottom: 4px solid #1e5486;
  transform: translateY(-50%) rotate(180deg);
}
/*----------------------------- header nav end --------------------*/
/*----------------------------- Footer ----------------------------*/
.site-footer {
  clear: both;
  position: relative;
  padding: 76px 0 12px;
  background: url("images/slider/5.webp") no-repeat 0 0 / cover;
  background-attachment: fixed;
  background-blend-mode: overlay;
  background-color: #ffffffcc;
}
.site-footer a,
.site-footer .copy {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  filter: drop-shadow(0 0 13px #ffffff44) drop-shadow(0px -1px 0 #ffffff44)
    drop-shadow(1px 1px 0 #ffffffaa);
}
.site-footer a {
  text-decoration: none;
  display: inline-block;
}
.site-footer a:hover {
  text-shadow:
    -1px -1px 0 #ffffff66,
    1px 1px 0 #00000066;
}
.site-footer .f-cols {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 50px;
}
.site-footer li {
  margin: 20px 0;
  list-style: none;
}
.site-footer li:before {
  content: none;
}
.site-footer .logo-cont {
  text-align: center;
}
.site-footer .logo {
  display: block;
  max-width: 387px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 25px #ffffff44) drop-shadow(0 -1px 0 white);
}
.site-footer .follow_us {
  line-height: 2.1;
}
.site-footer .social_links {
  display: flex;
}
.site-footer .logo-cont .member {
  font-size: 18px;
}
.site-footer .baovk img {
  max-width: 200px;
}
.site-footer .menu-menu-2-container,
.site-footer .menu-menu-3-container {
  width: 33%;
  display: flex;
  justify-content: center;
}
.site-footer .menu {
  padding: 0;
}
.site-footer .menu-footer-menu-1-container {
  padding-left: 40px;
}
#third-menu .phone {
  margin-left: 9px;
}
#third-menu .phone:before {
  font-size: 38px;
}
#third-menu .email:before {
  font-size: 28px;
}
.shd5 {
  position: absolute;
  top: 0;
  height: 42px;
  width: 50vw;
  background: url("images/shd2.webp") no-repeat 0 0 / 100% 42px;
  opacity: 0.8;
}
.shd6 {
  position: absolute;
  height: 42px;
  width: 690px;
  transform: rotate(180deg);
  right: 0;
  background: url("images/shd2.webp") no-repeat 0 0 / 100% 42px;
  top: -42px;
  opacity: 0.2;
}
/*------------------------ end Footer ----------------------------*/

@media (max-width: 1335px) {
  .top-line .wrap,
  #page-title h1,
  .site-main {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 1230px) {
  #nice-slider .ns-img {
    height: 370px;
  }
  #nice-slider .slider-inner {
    max-height: 370px;
  }
  #nice-slider .caption {
    font-size: 22px;
    top: 180px;
  }
}
@media (max-width: 1290px) {
  .header_nav .hamburger {
    display: flex;
    position: absolute;
    right: 0;
  }
  .header_nav .main-nav {
    position: absolute;
    right: 0;
    margin-top: 40px;
    z-index: 80;
  }
  .header_nav .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .header_nav .nav-list.active {
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 31px #00000033;
    border-radius: 5px;
    padding: 7px 10px;
  }
  .header_nav .nav-list .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0 0 0 20px;
  }
  .header_nav .nav-list .sub-menu.active {
    display: block;
    border-radius: 25px;
  }
}
@media (max-width: 1130px) {
  .services_section .vc_column_container {
    width: 20% !important;
    float: left;
    height: 28vw;
  }
}
@media (max-width: 1030px) {
  .site-footer .f-cols {
    flex-direction: column;
  }
  .site-footer .logo-cont {
    width: 100%;
    margin-bottom: 30px;
  }
  .site-footer .baovk {
    display: block;
  }
  .site-footer .menu-menu-2-container {
    width: 100%;
    order: 3;
  }
  .site-footer .menu-menu-3-container {
    width: 100%;
    order: 2;
  }
  .site-footer .logo {
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer .menu-footer-menu-1-container {
    padding-left: 0;
    text-align: center;
  }
  .site-footer .social_links {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .widget-area {
    padding: 1rem;
  }
  .wp-block-search__inside-wrapper {
    flex-direction: column;
  }
  .wp-block-search__input,
  .wp-block-search__button {
    width: 100%;
    border-radius: 4px;
    margin-left: 0;
  }
  .wp-block-search__input {
    margin-bottom: 0.5rem;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .tags-links,
  .cat-links {
    display: block;
    margin-bottom: 0.5rem;
  }
  .tags-links a,
  .cat-links a {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    margin: 0.1rem 0.2rem 0.1rem 0;
  }
  .comments-link,
  .edit-link {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .comments-link:before,
  .edit-link:before {
    display: none;
  }
  .comments-link a,
  .edit-link a {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
  #page-title {
    padding: 24px 0 18px;
  }
  #page-title h1 {
    font-size: 24px;
  }
  .site-main {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .clients_logos_section {
    display: inline;
  }
  .clients_logos_section:before,
  .clients_logos_section:after {
    display: none !important;
  }
  .clients_logos_section .vc_column_container {
    float: left;
    width: 25%;
    z-index: 5;
  }
  .clients_logos_section .vc-hoverbox-inner {
    min-height: 17vw !important;
  }
  .clients_logos_section .vc-hoverbox-back-inner h2 {
    font-size: 0.5em;
    line-height: 1.4;
  }
  body.home #nice-slider .slider-inner,
  body.home .over-slider .shd3,
  body.home .over-slider .shd22 {
    display: none;
  }
  .hentry table {
    overflow-x: auto;
    display: block;
    width: 100%;
  }
  .hentry table td,
  .hentry table th {
    padding: 6px 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}
@media (max-width: 738px) {
  .woof_redraw_zone > div {
    flex: 1 1 calc(50% - 10px);
  }
  .site-footer .social_links {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 720px) {
  .services_section .vc_column_container {
    width: 33.33% !important;
    height: 43vw;
  }
}
@media (max-width: 600px) {
  .error-404 {
    padding: 30px 20px;
  }
  .error-404 .page-title {
    font-size: 24px;
  }
  .error-404 .search-form input[type="search"] {
    width: 100%;
  }
  .container {
    padding: 1rem;
  }
  .page-header .page-title {
    font-size: 1.5rem;
  }
  .no-results {
    padding: 30px 20px;
  }
  .no-results .page-title {
    font-size: 22px;
  }
  .no-results .search-form input[type="search"] {
    width: 100%;
  }
  .search-result-list a {
    font-size: 14px;
  }
  .site-footer .follow_us {
    float: none;
  }
  /* body .ssi-list {
    padding-left: 40px;
  } */
}
@media (max-width: 510px) {
  .logo-link {
    max-width: 210px;
  }
  #nice-slider {
    height: 108px;
  }
  body .over-slider,
  body .slider-inner {
    max-height: 138px;
  }
  .site-footer .copy {
    font-size: 20px;
  }
  .site-footer .logo {
    max-width: 200px;
  }
  .header_nav {
    float: none;
    padding: 28px 0 0;
  }
  .site-footer .baovk img {
    max-width: 100px;
  }
}
@media (max-width: 470px) {
  .clients_logos_section .vc_column_container {
    float: left;
    width: 50%;
  }
  .clients_logos_section .vc-hoverbox-inner {
    min-height: 30vw !important;
  }
  .shd2 {
    left: -100px;
    width: 370px;
  }
}
@media (max-width: 465px) {
  .over-slider .wrap div {
    width: 100%;
  }
  .shd22,
  .shd4 {
    left: -50%;
  }
}
@media (max-width: 450px) {
  .woof_redraw_zone > div {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
@media (max-width: 445px) {
  .header-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
}
@media (max-width: 420px) {
  .services_section .vc_column_container {
    width: 50% !important;
    height: 63vw;
  }
}