.wrap-viborka-link {
  position: relative;
}
.avia-image-overlay-wrap::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.1;
  display: block;
  z-index: 1;
}
.av_one_fourth .custom-html-widget a {
  font-size: 17px;
  font-weight: lighter;
}

.advantage-1-relative + * {
  position: relative;
  z-index: 10;
}

/* #after_section_3 .flex_column_table {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(110px, 310px));
    grid-gap: 10px;
    justify-content: center;
    align-items: center;
} */
.av-section-color-overlay {
  /* 	background-image:url('/wp-content/uploads/2020/09/dots-mini-light.png'); */
}
#after_full_slider_1 .flex_column_table {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(110px, 350px));
  grid-gap: 15px;
  justify-content: center;
  align-items: center;
}
#after_full_slider_1 .flex_column_table:not(last-child) {
    margin-bottom: 15px;
}


.avia-image-overlay-wrap {
  position: relative;
}
#top .flex_column_table_cell:hover .avia-image-overlay-wrap:after {
  display: none;
}
#top .flex_column_table_cell:hover .avia-image-overlay-wrap:before {
  display: none;
}
.avia-image-overlay-wrap:after {
  /*content: "";
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2020/10/dots-mini-light.png);
  position: absolute;
  top: 0;
  left: 0;*/
}
.viborka-link > a span.avia_iconbox_title {
  position: relative;
  z-index: 2;
}

.thumb-wrapper {
  position: relative;
}
#top .main_color .avia-color-theme-color {
  border: 0;
}
.flex_column_table > p {
  /* display: none!important; */
}
.header-wrapper .media {
  /* 	position:relative; */
}
.tittle-search-front-page .av-special-heading-tag {
  /* 	color:#DFDFDF!important; */
}
.search-front-page .bootstrap-select > .dropdown-toggle {
  border: 2px solid #dfdfdf;
  border-radius: 0;
}
.search-front-page .dropdown-toggle::after {
  color: #dfdfdf;
}
.search-front-page .bootstrap-select > .dropdown-toggle:hover:after {
  color: #000;
}
.search-front-page input[type="submit"] {
  color: #dfdfdf !important;
}
.search-front-page input[type="submit"]:hover {
  color: #000 !important;
}
.search-front-page .filter-option {
  color: #dfdfdf;
}
.search-front-page .bootstrap-select > .dropdown-toggle:hover .filter-option {
  color: #000;
}
.search-front-page .bootstrap-select > .dropdown-toggle:hover {
  background-color: #eeeeee !important;
}
.header-wrapper .media:after {
  content: "";
  width: 100%;
  height: 100%;
  /*background-image: url(/wp-content/uploads/2020/10/dots-mini-light.png);*/
  position: absolute;
  top: 0;
  left: 0;
}
.av-masonry-image-container {
  position: relative;
}

.avia-content-slider .slide-image {
  position: relative;
}

#after_section_2 .flex_column_table:not(last-child) {
  margin-bottom: 15px;
}

.wrap-viborka-link.av_one_third {
  display: inline-block !important;
  max-width: 350px;
  margin-left: 0px;
  width: 100%;
}

.wrap-viborka-link.av_one_third:nth-child(4),
.wrap-viborka-link.av_one_third:nth-child(1) {
  margin-left: 0;
}

/* .flex_column_table.av-equal-height-column-flextable.-flextable {
    display: flex !important;
    justify-content: center;
} */

.wrap-viborka-link.column-top-margin {
  margin-top: 0;
}

.viborka-link {
  background: #ccc;
  height: 277px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 6px !important;
}

.wrap-viborka-link + .av-flex-placeholder {
  width: 10px !important;
  display: none !important;
}

.viborka-link:hover > a {
  opacity: 0;
  transition: 0.4s;
}

.viborka-link > a {
  width: 100%;
  height: 100%;

  margin: 0 !important;
  padding: 0 !important;
  transition: 0.4s;
}

.viborka-link > a span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  font-size: 1.75rem;
  line-height: 1.3;
}

.wrap-viborka-link .avia-button {
  background: transparent !important;
}

.viborka-img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;

  height: 250px;
  overflow: hidden;
}

.viborka-img img {
  height: 250px;
  object-fit: cover;
}

.bootstrap-select .dropdown-toggle .filter-option {
  height: 100%;
  display: flex;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

#av_section_3 .template-page.content.av-content-full.alpha.units {
  padding-top: 0;
}

.flex_column_table .viborka-link {
  margin-bottom: 0 !important;
}
.avia-image-container .avia_image {
  height: 100%;
}
.avia-image-container .avia-image-overlay-wrap {
  height: 100%;
}
.avia-image-container.avia-align-center .avia-image-container-inner {
  height: 100%;
}
.avia-image-container.avia-align-center {
  height: 100%;
}

.reset-height {
  height: auto !important;
  min-height: auto !important;
}
.reset-height > .container > .template-page {
  padding-bottom: 0 !important;
}
#footer .widget.widget_social_icons_custom_widget {
  margin-bottom: 0;
}
#footer .widget_social_icons_custom_widget + .widget_text.widget_text {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .viborka-img img {
    height: 250px;
    object-fit: cover;
  }
}

@media screen and (max-width: 991px) {
  .invest-card .text-wrapper {
    padding: 30px 20px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .h3,
  h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .wrap-viborka-link.av_one_third {
    max-width: 100%;
  }

  /*     #after_section_3 .flex_column_table {
        display: block !important;
    } */

  #after_section_2 .flex_column_table {
    display: block !important;
  }

  .flex_column_table.av-equal-height-column-flextable.-flextable {
    flex-direction: column;
    align-items: center;
  }

  .avia-image-container.avia-align-center .avia-image-container-inner {
    width: 100% !important;
  }

  .viborka-img img {
    width: 100% !important;
  }

  .viborka-link {
    margin-bottom: 0 !important;
  }

  .responsive #top .flex_column_table_cell {
    padding-left: 0 !important;
  }

  #top #footer .widget ul {
    justify-content: center;
  }

  .category-card {
    /* padding-top: 40px !important;
        padding-bottom: 40px !important; */
    width: 70% !important;
  }

  .responsive #top .flex_column_table_cell {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .avia-button.avia-size-large {
    padding: 13px 5px 13px !important;
  }

  .viborka-img img {
    height: 100%;
  }
}

@media screen and (max-width: 576px) {
  .category-card {
    /* padding-top: 20px !important;
        padding-bottom: 20px !important; */
    width: 100% !important;
  }

  .viborka-img img {
    height: 300px;
  }

  #top #wrap_all .all_colors h2,
  #top #wrap_all .all_colors h1 {
    line-height: 1.2 !important;
  }

  #top .avia-section-huge .content,
  #top .avia-section-huge .sidebar {
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .av-special-heading {
    margin-top: 20px !important;
  }

  .h3,
  h3 {
    font-size: 1.5rem !important;
  }

  .responsive #top #wrap_all .slide-entry {
    width: 100% !important;
    margin-top: 40px !important;
    margin-left: 0 !important;
  }

  #top #wrap_all .all_colors h1 {
    /* font-size: 28px !important; */
    line-height: 1 !important;
  }

  .responsive #top .container .av-content-small,
  .responsive #top #wrap_all .flex_column,
  .responsive #top #wrap_all .av-flex-cells .no_margin {
    /* margin-bottom: 0 !important; */
  }

  .nf-fields-wrap {
    display: flex;
    flex-direction: column;
  }

  .nf-form-content nf-fields-wrap > nf-field:nth-child(2),
  .nf-form-content nf-fields-wrap > nf-field:nth-child(1) {
    width: 100%;
    max-width: 100%;
  }

  #ninja_forms_required_items,
  .nf-field-container {
    margin-bottom: 5px !important;
  }

  #top #wrap_all .avia_ajax_form.av-form-labels-hidden p {
    margin-top: 0;
    margin-bottom: 15px;
  }

  p {
    margin-bottom: 0.5rem !important;
  }
}
