/*
Theme Name: WP Bootstrap Starter
Theme URI: https://afterimagedesigns.com/wp-bootstrap-starter/
Author: Afterimage Designs
Author URI: https://afterimagedesigns.com/
Description:  The best WordPress starter theme based on the most powerful frameworks in the world: "_s" (by Automattic, the main people behind WordPress development), Twitter Bootstrap (the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web) and Font Awesome (or Fontawesome, a full suite of 675+ pictographic icons for easy scalable vector graphics on websites). This theme, like WordPress, is licensed under the GPL. You can use this theme as base for your next WordPress theme project and you are allowed to remove the link at the footer or do whatever you want. Your feedback on how we can continuously improve this WordPress Starter Theme Bootstrap will be highly appreciated. Page templates includes Right-sidebar (default page template), Left-Sidebar, Full-Width, Blank with container, Blank without container Page. Other features - Currently using Bootstrap v4.0.0 , Widgetized footer area, WooCommerce ready, Compatible with Contact Form 7, Compatible with Visual Composer, Compatible with Elementor Page Builder. This theme will be an active project which we will update from time to time. Check this page regularly for the updates.
Version: 3.3.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
    font-family: 'Montserrat', sans-serif;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
  display: block;
}
audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden], template {
  display: none;
}
a {
  background-color: transparent; color:#292f48;
}
a:active, a:hover {
  outline: 0;
  text-decoration: none; color:#379867;
}
dfn {
  font-style: italic;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 2.5rem;
}
hr {
  box-sizing: content-box;
  height: 0;
}
button {
  overflow: visible;
}
button, select {
  text-transform: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled], html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td, th {
  padding: 0;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #292f48;
  font-weight: 400;
  margin-top: 24px;
  margin-bottom: 15px;
  font-family: 'Lora', serif; line-height: normal;
}
h1 {
  font-size: 48px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 1.2rem;
  font-size: 48px; 
  text-transform: uppercase;
}
h4 {
  font-size: 16px;
  line-height: 20px;
}
h5 {
  font-size: 14px;
  line-height: 17.5px;
}
p {
  margin-bottom: 1.5em;
}
h1.entry-title {
  font-size: 48px;
  border-bottom: 1px solid #eaecef;
  text-transform: uppercase;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
  font-size: 48px;
  text-transform: uppercase;
}
h3.widget-title {
  font-size: 1.2rem;
  font-size: 48px;
  text-transform: uppercase;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}
img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}
figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.form-control{
    border-radius: 0;
}
.form{background:#f6f6f6; padding: 20px;}
.form form p{margin-bottom: 5px!important;} 
.form label{width:100%;}

.wpcf7-form label{ width: 100%}
.wpcf7-form .zapytanie{ margin-top:10px;}

.wpcf7-form  .flex{ display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;}
.wpcf7-form .telefon{}
.wpcf7-form .kol{ width: 48%; margin: 0;}
.wpcf7-form .adres{}
.wpcf7-form .file{ margin:30px 0;}
.wpcf7-form  .akcept{ margin: 30px 0;    }
.wpcf7-form  .akcept span.wpcf7-list-item{ margin: 0; margin-left:1px; margin-right: 15px; margin-top: 5px;   }
 
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background: #fff url("images/header-bg.png") no-repeat left top;
  background-size: 100% auto;
  padding: 40px 20px;
}
.navbar-brand > a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.navbar-brand > a:visited, .navbar-brand > a:hover {
  text-decoration: none;
}
#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}
body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}
#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}
body:not(.theme-preset-active) #page-sub-header p {
  color: #212529;
}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 3.750rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 992px) {
  #page-sub-header p {
    max-width: 43rem;
    margin: 0 auto;
  }
}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
.btn {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color:  #379867;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}
 
.btn:hover {
 color: #fff;
  background-color: #24385e;
  border:none;
}
.btn.focus, .btn:focus {
  outline: 0;
  box-shadow:0;
}
.btn.disabled, .btn:disabled {
  opacity: .65
}
a.btn.disabled, fieldset:disabled a.btn {
  pointer-events: none
}
.btn-primary {
  color: #fff;
  background-color: #379867;
  border:none;border-radius: 0;
}
.btn-primary:hover {
  color: #fff;
  background-color: #24385e;
  border:none;
}
.btn-primary.focus, .btn-primary:focus {
    outline: 0;
  box-shadow:0;
}
 
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #24385e;
  padding: 0px 13px;
  font-weight: 400;
  font-size: 17px;
  font-family: 'Lora', serif;
  text-transform: uppercase;
  position: relative;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a span {
  padding: 10px 0;
  display: block;
  position: relative;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  background: #d3d3d3;
  height: 50%;
  top: 50%;
  transform: translate(0%, -50%);
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover span:after {
  background: #379867;
  width: inherit;
  height: 2px;
  bottom: 0;
  display: block;
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li:last-child a:before {
  display: none;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #fff;
  font-weight: 400;
  background: #379867; border:none;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a:before {
  display: none;
}
#main-nav{margin-top:20px;}
 #masthead  .navbar-nav li  a:hover span:after{display:none!important;}
 #masthead  .navbar-nav li  a:hover span {color:#379867}
 #masthead  .navbar-nav li  a:before  {display:none;}
.navbar-brand {
  height: auto;
}
.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}
.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
  position: relative;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover > .dropdown-menu {
  display: block;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover > a:after {
  border-left-color: #fff;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
  float: none;
}
.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  
}
/* Small menu. */
.menu-toggle, .main-navigation.toggled ul {
  display: block;
}
.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}
.dropdown-menu {
  min-width: 12.500rem;
}
.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}
.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}
.dropdown-menu .dropdown-item:hover {
  background: transparent;
}
.navbar-toggler{border:2px solid #379867!important;-webkit-border-radius: 0; border-radius: 0;  }
@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
}
@media screen and (min-width: 769px) {
  .dropdown-menu li > .dropdown-menu {
    right: -9.875rem;
    top: 1.375rem;
  }
}
@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
    border: medium none;
    margin-left: 1.250rem;
    padding: 0;
  }
  .dropdown-menu li a {
    padding: 0;
  }
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.625rem;
    padding-top: 0.313rem;
  }
  .navbar-light .navbar-toggler {
   
    outline: none; 
  }
  
}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}
.comment-content.card-block {
  padding: 20px;
}
.navigation.post-navigation {
  padding-top: 1.875rem;
}
.post-navigation .nav-previous a, .post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}
.post-navigation .nav-next a::after {
  content: " \2192";
}
.post-navigation .nav-previous a::before {
  content: "\2190 ";
}
.post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.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;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}
/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}
a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}
a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}
.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}
.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}
/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  overflow: hidden;
  /* Make sure select elements fit in widgets. */
}
.widget select {
  max-width: 100%;
}
.widget_search .search-form input[type="submit"] {
  display: none;
}
.nav > li > a:focus, .nav > li > a:hover {
  background-color: #eee;
  text-decoration: none;
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.widget_categories .nav-link {
  display: inline-block;
}
.widget  .textwidget{font-size: 14px; line-height: 22px;}
/*--------------------------------------------------------------
# Widgets top
--------------------------------------------------------------*/
.top-pages {
  background: #292f48;
  padding: 5px 0px;
  margin: 0;
}
.top-pages .widget {
  margin: 0;
  padding: 0;
}
.top-pages .widget h3.widget-title {
  display: none
}
.top-pages .textwidget {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 12px;
  text-align: right;
}
.top-pages .widget ul {
  display: flex;
  padding: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
  margin: 0;
}
.top-pages .widget ul li {
  list-style: none;
  margin: 0;
  margin-left: 20px;
  padding: 0;
  line-height: 25px;
}
.top-pages .widget ul li.cont1 i {
  background: #1f243a;
}
.top-pages .widget ul li.cont2 i {
  background: #b8a46a;
}
.top-pages .widget ul li.cont3 i {
  background: #1f243a;
}
.top-pages .widget ul li.cont4 i {
  background: #379867;
}
.top-pages .widget ul li a {
  list-style: none;
  padding: 0;
  color: #fff;
  font-size: 12px;
}
.top-pages .widget ul li i {
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  margin-right: 5px;
  display: inline-block;
  background: #1f243a;
}
/*--------------------------------------------------------------
# Widgets footer
--------------------------------------------------------------*/

#footer-widget{ padding-top: 20px; font-size: 12px; position: relative;}
 
#footer-widget .container .row .widget::after{display: none;}
#footer-widget .container .row .line .widget {position: relative; height:100%; }
#footer-widget .container .row .line .widget ::after{ content: ''; height: 3px; color:#379867; display:block;background: #379867; right: 0; bottom: 0px; width: 100%; position: absolute;}

#menu-footer-menu{display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;}
#menu-footer-menu li{ margin: 0; padding: 6px 0; padding-top:0;}
#menu-footer-menu li a.nav-link{  padding:0;}
#menu-footer-menu li a:hover{ background:none;} 


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.home .widget {
  margin-bottom: 0 !important; overflow: visible;
}
#company-info { margin:80px 0; position: relative; }
#company-info img.obr{ position: absolute;  right:10px; top:-100px; z-index: 99; max-height: 500px; width: auto;}
#company-info h3{ border-bottom: 1px solid #F5F5F5; padding-bottom: 15px;width:70%; position: relative;}
#company-info h3::before {
     width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-top: 20px solid #F5F5F5; position: absolute; bottom:-20px; left:10%; content: '';transform: translate(-50%, 0%);
}
 
#company-info .textwidget{ width: 70%;   text-align: justify; padding:60px 0;}




#uslugi-content {
  background: #f5f5f5;
  padding: 40px;
  text-align: center;position: relative; margin-top: 60px;
}
#uslugi-content::before {
     width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-top: 20px solid #fff; position: absolute; top:0; left:50%; content: '';transform: translate(-50%, 0%);
}
#uslugi-content p a {
  display: inline-block;
  margin: 10px auto;
  padding: 15px 20px;
  background: #24385e;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  margin-bottom: 0;
}
#uslugi-content p {
  margin: 0;
  padding: 0;
}
#uslugi-content p a:hover {
  background: #379867;
  padding: 15px 25px;
}
#uslugi-content ul {
  margin: 0;
  padding: 0;
  display: block;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  margin-bottom: 40px;
}
#uslugi-content ul li {
  list-style: none;
  width: 24%;
  background: transparent;
  padding:60px 20px;
  text-align: center;
  font-size: 24px;
  color: #24385e;
  font-weight: 400;
  line-height: normal;
  font-family: 'Lora', serif;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
#uslugi-content ul li:hover {
  -webkit-box-shadow: 0 0 15px -2px #d3d3d3;
  box-shadow: 0 0 15px -2px #d3d3d3;
  background: #fff;
}
#uslugi-content ul li a {
  text-align: center;
  font-size: 24px;
  color: #24385e;
  font-weight: 400;
  line-height: normal;
  position: relative;
  font-family: 'Lora', serif;
  padding-bottom: 10px; display: inline-block;
}
#uslugi-content ul li a:after {
  width: 0px;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  content: '';
  height: 2px;
  background: #379867;
  color: #379867;
  display: block;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  margin: 0 auto;
  text-align: center;
}
#uslugi-content ul li a:hover:after {
  position: absolute;
  bottom: 0px;
  content: '';
  height: 2px;
  width: 100%;
  background: #379867;
  color: #379867;
  display: block;
  left: 0;
  right: 0;
}
#uslugi-content ul li a img {
  display: block; margin:0; padding: 0; margin: auto;
  margin-bottom: 15px;
}
#online-content h3.widget-title {
  display: none;
}
#online-content .textwidget {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  align-content: stretch;
}
#online-content .col-md-8 {
  background: #24385e;
  margin: 0; color:#fff; padding:40px 20px; font-size: 13px; line-height: normal;
}
#online-content .col-md-8 ul{ list-style: none; margin: 0; padding: 0; display: block; display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: center; margin: 60px 10px;}
#online-content .col-md-8 ul li{ width: 25%;}
#online-content .col-md-8 ul li img{ float: left; vertical-align: middle; display: inline-block; margin-right: 15px; text-transform: uppercase;}
#online-content .col-md-8 h3{display: block;  color:#fff; margin:0; padding:0;}
#online-content .col-md-8 h5{ display: block; font-size: 16px; color:#fff; margin:0; padding:0; line-height: 23px;}
 

#online-content .col-md-4 {
  background: #379867;
  margin: 0;
  position: relative;
}
#online-content .col-md-4 a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; font-weight: 600; line-height: normal; text-align: center;
}
#online-content .col-md-4 a:hover {  padding: 7px 16px; }

#contact-content { margin-top:40px; font-size: 16px; color:#24385e;}
#contact-content  ul{ margin:0; padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch; margin-top:40px;}
#contact-content  ul li { width:33%; display: inline-block; margin: 0; padding: 0; margin-bottom: 20px;}
#contact-content ul li a { line-height: 40px;}
#contact-content ul li a:hover{ color:#379867}
#contact-content i { width: 40px; height: 40px; line-height: 40px; text-align: center; font-size: 13px; color:#fff; background: #379867; margin-right:10px; }
#contact-content i.fa-map-marker-alt{margin-bottom: 70px;
float: left;}

#contact-content li.tel-num a{ font-size: 30px; font-weight: 700; color: #24385e; vertical-align: top;}
#contact-content li.mail-num a{font-size: 18px; font-weight: 400; color: #292f48; vertical-align: top;}

.contact-area{}
.contact-area .form{ margin-top:70px;}
.contact-area .map{ margin-top:70px;}
.contact-area a{}
.contact-area i{}
.contact-area em{}

#chi-siamo{display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center!importantr;
	align-content: center;}
#chi-siamo-cyt{ margin:40px 0; background: #eeeeee; text-align: center}
#chi-siamo-cyt p{margin:0; }
#chi-siamo-cyt blockquote{margin:0; position: relative; display: inline-block; margin: 40px; }
#chi-siamo-cyt  blockquote::before,
#chi-siamo-cyt  blockquote::after {
	position: absolute;
	color: #292f48;
	font-size:60px;
	width: 40px;
	height:40px; line-height: 40px; text-align: center;
}
#chi-siamo-cyt blockquote::before {
	content: '\201C';
	left: -40px;
	top:-20px;
}

#chi-siamo-cyt blockquote::after {
	content: '\201C';
	right: -40px;
	bottom: -40px;
}

 
#chi-siamo-comp{
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center!importantr;
	align-content: center;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 0px;
}
.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}
.sticky .entry-title {
  position: relative;
}
.single .byline, .group-blog .byline {
  display: inline;
}
.page-content, .entry-content, .entry-summary {
  margin: 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
.page-template-blank-page .entry-content, .blank-page-with-container .entry-content {
  margin-top: 0;
}
.post.hentry {
  margin-bottom: 4rem;
}
.posted-on, .byline, .comments-link {
  color: #9a9a9a;
}
.entry-title > a {
  color: inherit;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}
.bypostauthor {
  display: block;
}
.comment-body .pull-left {
  padding-right: 0.625rem;
}
.comment-list .comment {
  display: block;
}
.comment-list {
  padding-left: 0;
}
.comments-title {
  font-size: 1.125rem;
}
.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}
.comment-list .pingback:first-child {
  border: medium none;
}
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}
/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed, iframe, object {
  max-width: 100%;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}
.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}
.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}
.wp-caption-text {
  text-align: center;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}
.gallery-item .gallery-columns-2 {
  max-width: 50%;
}
.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}
.gallery-item .gallery-columns-4 {
  max-width: 25%;
}
.gallery-item .gallery-columns-5 {
  max-width: 20%;
}
.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}
.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}
.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}
.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}
.gallery-caption {
  display: block;
}
/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}
.variations_form .variations .value > select {
  margin-bottom: 0.625rem;
}
.woocommerce-MyAccount-content .col-1, .woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}
/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}
.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}
.elementor-page .entry-content {
  margin-top: 0;
}
/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}
.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}
.vc_desktop .entry-content {
  margin-top: 0;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer#colophon {
  font-size: 85%;
}
body:not(.theme-preset-active) footer#colophon {
  color: #99979c;
  background-color: #fff;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}
.copyright a, footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
     #uslugi-content {
      margin-top: 0px;
      padding: 20px;
    }
    #uslugi-content ul {
      margin-bottom: 20px; flex-wrap: wrap;
    }
    #uslugi-content ul li {
      padding: 40px 20px; width: 50%;  
    }
    #uslugi-content ul li a {
      font-size: 16px;
    }
      #online-content .col-md-8 ul li {
      width: 100%!important;
      margin-bottom: 10px;
    }
       #online-content .col-md-8 ul li img{
   height: auto;
max-width: 45px;
    }
    #online-content h3{
        line-height: normal; font-size: 30px;
    }
    #online-content .col-md-4 a{ white-space: nowrap}
    #contact-content ul{display: flex;
	flex-direction: column;}
    #contact-content ul li{ width:100%; display: block}
}
@media (max-width: 992px) {
    #company-info .textwidget {
      width: 100%
    }
    #company-info img.obr {
      position: relative;
      right: inherit;
      max-height: inherit !important;
      margin: 0;
      width: 50%;
      margin: 0 auto;
      height: auto !important;
      display: block;
      max-width: inherit;
    }
    #company-info .textwidget {
      padding: 40px 0;
    }
    #uslugi-content {
      margin-top: 0px;
      padding: 20px;
    }
    #uslugi-content ul {
      margin-bottom: 20px;
    }
    #uslugi-content ul li {
      padding: 40px 20px;
    }
    #uslugi-content ul li a {
      font-size: 16px;
    }
     #contact-content  {
      font-size: 14px;
    }
    #contact-content li.mail-num a {
      font-size: 15px;
    }
    #online-content .textwidget {
      flex-wrap: wrap;
    }
    #online-content .col-md-4 {
      width: 100%;
      width: 100%;
      flex: inherit;
      min-height: 200px;
      max-width: inherit;
    }
    #online-content .col-md-8 {
      width: 100%;
      width: 100%;
      flex: inherit;
      max-width: inherit;
    }
    #online-content .col-md-8 ul {
      flex-wrap: wrap;
    }
    #online-content .col-md-8 ul li {
      width: 50%;
      margin-bottom: 10px;
    }
    }
/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media (min-width: 1610px) {
  .container {
    width: 90%;
    max-width: 1600px;
  }
}
@media only screen and (max-width: 1609px) {
    #company-info img.obr{max-height: 400px;}
    #company-info .textwidget{padding: 40px 0;}
    #uslugi-content{margin-top: 0px; padding: 20px;}
      #uslugi-content ul  { margin-bottom: 20px;}
    #uslugi-content ul li{ padding:40px 20px;}
    #uslugi-content ul li a{font-size: 20px;}
    #online-content .col-md-8 ul{flex-wrap: wrap;}
    #online-content .col-md-8 ul li{ width: 50%; margin-bottom: 10px;} 
}
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
      #company-info{margin: 40px 0;}
    #company-info img.obr{max-height: 350px; top:0;}
    #company-info .textwidget{padding: 40px 0;}
    #uslugi-content{margin-top: 0px; padding: 20px;}
      #uslugi-content ul  { margin-bottom: 20px;}
    #uslugi-content ul li{ padding:40px 20px;}
    #uslugi-content ul li a{font-size: 17px;}
    #online-content .col-md-8 ul{flex-wrap: wrap; margin-bottom: 10px;}
    #online-content .col-md-8 ul li{ width: 50%; margin-bottom: 10px;} 
    #contact-content li.tel-num a{ font-size: 20px;}
}
@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }
}
/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
  .top-pages .widget ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
  }
  .top-pages .widget ul li {
    width: 48%;
    margin: 1%;
    text-align: left;
  }
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }
}