/*!
Theme Name: Onguard Fence
Theme URI: https://www.it-usluge.net/
Author: Miodrag
Author URI: https://www.it-usluge.net/
Description: Onguard Fence Website theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: itu_canvas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --main-green: #00703c;
  --dark-green: #004425;
  --light-green: #8dc63f;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}
.updated:not(.published) {
  display: none;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.btn.btn--yelow {
  color: #000;
  background-color: #ffc107;
  border-color: #ffc107;
}
.btn.btn--yelow:hover {
  color: #000;
  background-color: #ffca2c;
  border-color: #ffc720;
}
.btn.btn--dark {
  color: #fff;
  background-color: #333;
  border-color: #333;
}
.btn.btn--dark:hover {
  color: #fff;
  background-color: #444;
  border-color: #444;
}
.btn.btn--blue {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.btn.btn--blue:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}
.btn.btn--small {
  padding: 0.775rem 1.65rem;
  font-size: 0.8rem;
}
.btn.btn--large {
  padding: 0.975rem 1.85rem;
  font-size: 1.2rem;
}
footer.comment-meta {
  display: flex;
  column-gap: 15px;
  align-items: center;
  width: 100%;
  background-color: #eee;
  padding: 5px;
  flex-wrap: wrap;
}
.comment-wrapper div.comment-content {
  margin: 15px auto;
  padding-left: 20px;
}
.comment-body a.comment-reply-link {
  display: inline-block;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
  border-radius: 30px;
  background-color: var(--main-green);
  color: #fff;
  margin-right: 0.5rem;
  width: auto;
  height: auto;
}
.comment-body a.comment-reply-link:hover {
  background-color: var(--dark-green);
  color: #ffffff;
}
div#respond #reply-title a#cancel-comment-reply-link {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  border: solid 1px #eee;
  padding: 5px;
  font-size: 1rem;
  border-radius: 5px;
}
div#respond #reply-title {
  font-size: 1.5rem;
  margin-bottom: 1rem !important;
  margin-top: 1rem !important;
  position: relative;
}
.commentlist li div#respond {
  width: 100%;
}
form#commentform input[type="text"],
form#commentform input[type="email"],
form#commentform input[type="number"],
form#commentform input[type="url"] {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  border-color: #e9e9e9;
  height: 52px;
  padding: 15px 20px;
  font-size: 14px;
  margin-bottom: 30px;
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
form#commentform textarea {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  border-color: #e9e9e9;
  height: auto;
  padding: 15px 20px;
  font-size: 14px;
  min-height: calc(1.5em + 0.75rem + 2px);
  display: block;
  width: 100%;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition-duration: 0.15s, 0.15s, 0.15s;
  resize: vertical;
}
form#commentform input[type="submit"] {
  cursor: pointer;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 700;
  border: 0 !important;
  color: #fff;
  background-color: #0f834d;
  display: inline-block;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
form#commentform input[type="submit"]:hover {
  color: #fff;
  background-color: #0b663c;
  border-color: #0b663c;
}
li.page-item > span {
  position: relative;
  display: block;
  color: #0d6efd;
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
div#comments li.comment {
  margin-bottom: 10px;
  display: flex;
  clear: both;
  flex-wrap: wrap;
}
div#comments ol ol.children {
  padding-left: 0;
  margin-top: 10px;
  width: 100%;
}
div#comments li.comment article {
  width: 100%;
  border: solid 1px #eee;
  border-radius: 3px;
}
div#comments article .reply {
  padding: 5px;
}
.comment-author.vcard {
  display: flex;
  column-gap: 5px;
  align-items: center;
}
section.itu-section {
  padding: 50px 0;
}

/* NEW */

#header .primary-menu > .mega-menu-wrap {
  width: 100%;
}
.itu_header nav.primary-menu {
  width: 100%;
}
.itu_top_misc div#top-search {
  display: flex;
  margin-right: 0;
  margin-left: 15px;
}
.itu_top_misc div#top-search > a#top-search-trigger {
  margin-right: 10px;
}
.top-search-open .itu_top_misc_2 {
  display: none;
}
.top-search-open .itu_top_misc_1 > a {
  display: none;
}
.top-search-open .itu_top_misc_1 #top-cart {
  display: none !important;
}
.top-search-open .itu_top_misc_1 a#top-search-trigger {
  transform: translate(25px, 20px);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  line-height: 30px;
}
.top-search-open .itu_top_misc_1 a#top-search-trigger i:before {
  font-size: 2rem;
}
#copyrights p {
  margin-bottom: auto;
}
footer .social-icon {
  margin: 0 5px 5px 0 !important;
}
section#page-title.itu_page_header {
  min-height: 350px;
}
section.itu_breadcrumb_wrapper {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
}
section.itu_breadcrumb_wrapper > .container {
  display: flex;
  width: 100%;
  justify-content: center;
}
section.itu_breadcrumb_wrapper .breadcrumb {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none;
}
section.itu_breadcrumb_wrapper .breadcrumb > li {
  margin: 0 5px;
  display: inline-flex;
  align-items: center;
}
section.itu_breadcrumb_wrapper .breadcrumb > li:not(:last-child)::after {
  content: "";
  display: inline-flex;
  width: 15px;
  height: 12px;
  background-size: contain;
  background-position-x: center;
  background-repeat: no-repeat;
  margin-left: 10px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hldnJvbi1yaWdodCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjY0NiAxLjY0NmEuNS41IDAgMCAxIC43MDggMGw2IDZhLjUuNSAwIDAgMSAwIC43MDhsLTYgNmEuNS41IDAgMCAxLS43MDgtLjcwOEwxMC4yOTMgOCA0LjY0NiAyLjM1NGEuNS41IDAgMCAxIDAtLjcwOHoiLz4KPC9zdmc+");
}
nav.woocommerce-breadcrumb {
  display: none !important;
}
main#primary.site-main.woo_full.alignwide {
  max-width: 100%;
}
.elementor-page .entry-content {
  margin-top: 0;
}
.elementor-page main.maincontent.container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}
div#logo {
  padding: 5px 0;
}
.sticky-header-shrink a.top_phone {
  font-size: 1.2rem;
}
section.elementor-section.elementor-top-section {
  padding: 40px 0;
}
.elementor-page main.container {
  max-width: 100%;
  padding: 0;
}
ul#top-menu {
  display: flex;
  list-style-type: none;
  margin: 0 0;
}
ul#top-menu > li {
  display: inline-block;
  margin: 0 5px;
}
body .wp-block-button .wp-block-button__link {
  background-color: var(--main-green);
  transition-duration: 0.3s;
}
body .wp-block-button .wp-block-button__link:hover {
  background-color: var(--dark-green);
}
section#page-title > h1,
section#page-title > h2,
section#page-title > h3,
section#page-title > h4,
section#page-title > h5,
section#page-title > h6 {
  position: absolute;
  width: 100%;
  bottom: 15px;
}
ul.pagination li a {
  position: relative;
  display: flex;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  color: var(--main-green);
  text-decoration: none;
  background-color: #fff;
  border: solid 1px #dee2e6;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
ul.pagination li a.active ul.pagination li a,
ul.pagination li a:hover,
ul.pagination li a:focus {
  color: #fff !important;
  background-color: var(--main-green) !important;
  border-color: var(--main-green) !important;
}
.top-search-open ul#top-menu {
  display: none;
}
body .entry::after {
  display: none;
}
.itu_search_form button.btn.button-dirtygreen {
  color: #fff;
  background-color: var(--main-green) !important;
}
.itu_search_form button.btn.button-dirtygreen:hover {
  color: #fff;
  background-color: var(--dark-green) !important;
}
#header.transparent-header.floating-header.itu_header {
  margin-top: 30px;
  /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;*/
}
#footer .mailpoet_form {
  background: transparent !important;
  border: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#footer .mailpoet_form > .mailpoet_paragraph {
  margin: 0;
}
#footer .mailpoet_form input:not([type="submit"]) {
  border: solid 1px var(--main-green) !important;
  background-color: #fff !important;
}
#footer .mailpoet_form > .mailpoet_message {
  width: 100%;
}
.itu_contact_form form label.wpforms-field-label {
  color: #fff !important;
  font-weight: 400 !important;
}
.itu_contact_form form .wpforms-field-sublabel {
  color: #f4f4f4;
}
.itu_contact_form form button.wpforms-submit {
  background-color: #fff !important;
  border: none !important;
  padding: 10px 30px !important;
  transition-duration: 0.3s;
}
.itu_contact_form form button.wpforms-submit:hover {
  background-color: var(--light-green) !important;
  border: none !important;
  padding: 10px 30px !important;
}
.itu_big_menu ul.mega-sub-menu h4.mega-block-title {
  font-size: 1.5rem !important;
}

/* global ends ****************************************************************************************************/

@media screen and (max-width: 767px) {
  .top-search-open div.itu_top_misc_1 a#top-search-trigger {
    transform: translate(10px, 15px);
  }
  #wrapper #header.transparent-header.floating-header.itu_header {
    margin-top: auto;
  }
  section#page-title.itu_home_header {
    min-height: 1px;
  }
  body #header.transparent-header.floating-header.itu_header {
    margin-top: 0;
  }
  body section#page-title.itu_page_header {
    min-height: 200px;
  }
  ul#top-menu > li {
    border-top: none !important;
  }
  div#logo a.standard-logo {
    display: block;
    text-align: center;
  }
  div#logo {
    width: 100%;
  }
  div#logo a.standard-logo.text_logo {
    font-size: 1.6rem;
  }
  header a.top_phone {
    font-size: 1.5rem;
  }
  .top-search-open div#logo {
    display: none;
  }
  div.itu_top_misc {
    width: 100%;
  }
} /* /max-width:767px *********************************************************************************************/
