/*
Theme Name: WP Bootstrap Starter SPB
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.2.3
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;
}

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;
}

a:active,
a:hover {
  outline: 0;
}
a:hover {
  color: #800023;
}
a {
   color: #800023;
}
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: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
h1 {
  font-size: 32px;
  padding-bottom: 10px;
}
h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}
h3 {
  font-size: 18px;
  line-height: 25px;
}
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: 1.31rem;
  border-bottom: 1px solid #eaecef;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}
.frontpage .entry-title{display:none;}
/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  padding: 0 1rem;
}

.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: 10rem;
  padding-bottom: 0;
  font-size: 2.5rem;
  padding-bottom:6.6875rem;
}
.home #page-sub-header {
  background:none !important;   font-size: 2.1875rem;padding-top:0rem;  padding-bottom:0rem;
}
.page-template-default #page-sub-header{overflow: hidden; background-image:url('img/banner-center.jpg'); height: 755px;}
#main-nav{font-family: Intro Book;}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.5;
  font-size: 2.1875rem;
  color: #fff;
  margin: 0 0 1.25rem;
  border: 0;
  padding: 0;
  font-family: Roboto;
  font-weight:300;
}

#page-sub-header p {
  margin-bottom: 2.1875rem;
  line-height: 1.5;
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff; 
  font-family: Intro Regular Caps;
  text-align:center;
  margin-bottom: 0;
  letter-spacing:2px;
}
.home #page-sub-header p {
  font-size: 2.1875rem;
  text-align:left;
  margin-bottom: 3.125rem;
}
#page-sub-header .header-form .block-form{margin: auto;}

#page-sub-header .header-form .title{margin-bottom: 2rem; font-size: 2.1875rem; color:#fff; font-family:Roboto; 
font-weight:300; text-align:center; }
#page-sub-header .header-form #wpcf7-f34-o1, #page-sub-header .header-form #wpcf7-f2564-o1, #page-sub-header .header-form #wpcf7-f2591-o1, #page-sub-header .header-form #wpcf7-f2657-o1 {display: flex;}
#page-sub-header .header-form .wpcf7-form{margin: 0 auto;}
#page-sub-header .header-form .inner-form{border-radius: 15px; justify-content: center;
 padding-top: 15px; padding-bottom:30px; background:rgba(255,255,255,0.56); padding-left:15px; padding-right:15px;}
#page-sub-header .header-form .inp{display:inline-block;}
#page-sub-header .header-form .form-control{width:15.625rem !important; margin-left:1.25rem; margin-right:1.25rem;}
#page-sub-header .header-form .btn {
    color: #fff;
    font-size: 1.3125rem;
    background: rgba(138,0,35, 0.8);
    font-family: 'Intro Light Caps';
    padding: 1.5625rem;
    border-radius: 10px;
    margin: auto;
    display: inline-block;
    line-height: 1;border: none;
	
}
#page-sub-header .header-form .form-button{margin-top: 45px;text-align:center;}
#page-sub-header .header-form div.wpcf7 .ajax-loader, .header-form .wpcf7-not-valid-tip{display:none !important;}
#page-sub-header .header-form .wpcf7-response-output{background: rgba(255,255,255,0.56); font-size: 1rem;}
#page-sub-header .header-form  .wpcf7-not-valid{border:1px solid red;}
#page-sub-header .header-form .wpcf7-form-control:focus{border:none;}
.price {background:#eaeaea;}
a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: none;
  margin-top: 2rem;
}
	.navbar-phone{font-size:1.375rem; color:#800023; font-family: 'Intro Book'; font-weight:900; margin-left:1.25rem;}
	#price{background: #eaeaea; font-size:0.875rem;}
	#price .content{margin: auto; padding-top:2.5rem; padding-bottom:1.875rem; width: 100%}
	#price .content .title-block{font-family: 'Intro Book'; text-align:center; font-size:2.5rem; padding-bottom:0;}
	#price table {border-collapse: unset;border-spacing: 1px; }
	#price table  td, #price table  th {padding: .75rem;vertical-align: top;}
	#sale{margin-top:2.8125rem; margin-bottom:1.3125rem;}
	#sale .row{justify-content: center;}
	#maintext{font-family: 'Intro Book';  font-size:1rem; margin-bottom:2.1875rem; }
	#maintext h2{font-size:1.25rem;}
	#maintext .content{width: 1043px; margin: auto;}
	#contactform3{margin: auto; margin-bottom: 6.37rem; }
	#contactform3 .content{position: relative; width: 1043px; margin: auto; background:#910235;padding-left: 5.125rem; padding-right: 5.125rem; padding-bottom: 40px; padding-top: 40px;}
	#contactform3  div.wpcf7-validation-errors, #contactform3  div.wpcf7-acceptance-missing{border:2px solid #fff; color:#fff;}
	#contactform3 .block-form{display:flex;}
	#contactform3 .inner-form{display:flex;}
	#contactform3 .content .title-block{font-size:40px; color:#fff; text-align:center; line-height: 1;}
	#contactform3 .content .text-block{font-size: 19px;color: #fff;text-align: center;line-height: 1;margin-bottom: 35px;margin-top: 12px;}
	#contactform3 .inp{padding-left: 10px; padding-right: 10px;}
	#contactform3 div.wpcf7 .ajax-loader{display:none !important;}
	#contactform3 .form-control{border: 0; height: auto;}
	#contactform3 .form-button{padding-left: 10px; padding-right: 10px;}
	#contactform3 .form-button .btn{background: #d90a54;border: 0;padding-left: 5rem;padding-right: 5rem;}
	#result{ margin: auto; margin-bottom: 2.8125rem; font-size: 0.875rem;}
	#contactform3 .block-form input {  padding-left: 40px; padding-top: 12px; padding-bottom: 12px;}
	#contactform3 .policy{position: absolute;color: #808080;bottom: -20px;width: 100%;left: 0;}
	#contactform3 .block-form .your-name::before {
    content: '';
    background-image: url("/wp-content/themes/wp-bootstrap-starter/img/user.svg");
    width: 17px;
display: block;
position: absolute;
top: 0;
height: 100%;
background-repeat: no-repeat;
background-position: center;
left: 15px;
background-size: contain;
}
	#contactform3 .block-form .tel-705::before {
    content: '';
    background-image: url("/wp-content/themes/wp-bootstrap-starter/img/phone.svg");
    width: 17px;
display: block;
position: absolute;
top: 0;
height: 100%;
background-repeat: no-repeat;
background-position: center;
left: 15px;
background-size: contain;
}
	#contactform3 .policy  a{color: #808080;}
	#contactform3 .wpcf7-form-control-wrap { position: relative; display: block;}
	#result .main-text{width: 1043px; margin: auto; border:3px solid #910235;}
	#result  .title-block{color:#910235; text-align:center; font-size:2.1875rem; margin-bottom: 28px; background:#fff; width: 80%; margin-left:auto; margin-right:auto;}
	#result .main-text{
	/*padding-left: 6.675rem;padding-right: 6.675rem; 
	 background-image:  url("/wp-content/themes/wp-bootstrap-starter/img/zvezda.png"), url("/wp-content/themes/wp-bootstrap-starter/img/zvezda.png");
	  background-position: center right, center left;
    background-repeat: no-repeat, no-repeat ;*/
		margin-right: 3.4375rem;
		margin-left: 3.4375rem;
		padding-top:1.875rem; 
		padding-bottom:1.875rem;
		padding-top: 0rem;
		padding-bottom: 0;
		border-radius: 10px;	
		position: relative;
	}
	#result .main-text::after, #result .main-text::before{ 
	content: '';
	background-image: url("/wp-content/themes/wp-bootstrap-starter/img/zvezda1.png");
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
top:0;

	height: 100%;
background-repeat: no-repeat;
background-position: center;
	}
	#result .main-text::after{right: -25px;}
	#result .main-text::before{left: -25px;}
	#result .main-text table{margin-bottom: 1rem;}
	#result table td, #result table th {
    padding: .75rem;
    vertical-align: top;
	border-bottom: 1px solid #c3c3c3;
	font-weight:normal;
	}
	#result .main-text table {
		width: 80%;
		margin: auto;
	}
#result table td:nth-child(2), #result table th:nth-child(2){
	border-bottom: 1px solid #c3c3c3;
	font-weight: normal;
	background: #f1e2e6;
	color: #b21947;
	font-weight: 600;}
#main{margin: auto; margin-bottom: 3rem;}
	#main .content{width: 1043px; margin: auto; }
	#main h1{font-size: 2.5rem;font-family: 'Intro Book';font-weight: normal;padding-bottom: 30px;margin-bottom: 0;}
	#main .main-text{padding-bottom: 0.85rem; }
#inner-reviews{width: 1043px; margin: auto; padding-top: 1rem; }
	#inner-reviews .content{width: 1043px; margin: auto; }
	#inner-reviews .carousel{padding-left: 9.375rem;padding-right: 9.375rem; }
	#inner-reviews .content .title-block{font-size:40px; text-align:center; margin-bottom: 30px;}
	#inner-reviews .carousel-inner{min-height: 320px; margin-bottom: 3.8rem;}
	#inner-reviews .carousel-control-prev{background:url(/wp-content/themes/wp-bootstrap-starter/img/stelka1.png) no-repeat center left;}
	#inner-reviews .carousel-control-next{background:url(/wp-content/themes/wp-bootstrap-starter/img/stelka2.png) no-repeat center right;}
#widgetkit-8{margin:auto; margin-bottom:3.75rem;}	
.site-header .center{
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
}
.site-header .right{
display: flex;
flex-direction: column;
justify-content: center;
align-content: end;
align-items: end;
text-align: right;
}
.site-header  .phone{
color:#800023;
}
.site-header  .name{
	font-size: 14px;
}
.site-header .soc{
display: flex;
}
.site-header .soc a{padding-left:2px; padding-right:2px;
}
#menu-glavnoe-menyu{
width: 100%;
justify-content: space-between;
}
.hr{
width: 100%;
height:1px;
background:#000;
}
header#masthead {
    padding: 0;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a{padding:20px;}
#napr{margin-bottom:50px;}
#napr a, #napr img{width:100%;}
#napr > div{
	margin-right: -5px;
	margin-left: -5px;}
#napr > div > div{
    padding: 5px;
}
#napr .title-block{text-align:center; font-size:40px;
margin-bottom:20px;
line-height: 1;
}
@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
    font-size: 2.1875rem;
  }
  body:not(.theme-preset-active) #page-sub-header {
    font-size: 2.1875rem;
  }
}
@media screen and (max-width: 1200px) {
	#contactform3 .content, #maintext .content, #contactform3 .content, #main .content, #inner-reviews .content, #price .content, #result .content{width: 100%;}
	#inner-reviews .carousel {
    padding-left: 0;
    padding-right: 0;
}
}
@media screen and (min-width: 992px) {
	
  #page-sub-header p {
  }
}
.header-button{text-align:center;}
.fancybox-inline{text-align: center;
color: #fff;
font-size: 1.3125rem;
background:rgba(138,0,35, 0.8); font-family: 'Intro Light Caps'; padding:1.5625rem; border-radius:10px; margin:auto; display: inline-block; line-height: 1;}
.fancybox-inline:hover{color: #fff; text-decoration:none;}
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: #000000;
  padding: 20px;
  font-weight: 300;
  font-size: 0.875rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
  color: #000000;
  font-weight: 300;
  /*background: #f9f9f9;*/
}

.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;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* 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;
}

@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 {
    border: medium none;
    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;
  /* 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;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  background: url(img/fon2.jpg);
}

#content .container{background:#fff; padding-top: 3.375rem;   padding-bottom: 1.375rem;}
.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: 1.5em 0 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%;
  color:#000000;
}
body:not(.theme-preset-active) footer#colophon {
  color: #000000;
  background-color: #c6c6c6;
}
.navbar-dark .site-info {
  color: #fff;
}
.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a, footer#colophon a {
  color:#000000;
}
footer#colophon #main-nav{margin-top: 1.5625rem;}
footer#colophon .navbar {padding-right: 0;}
footer#colophon .navbar a{text-decoration:underline; }
footer#colophon .site-info{text-align:right; line-height:2; margin-top: 1.5rem;}
#custom_html-3{font-size: 0.875rem;  line-height:2;}
#custom_html-3 .widget-title{display:none;}
#sticky-posts-2{margin-bottom:3.125rem;}
#sticky-posts-2 .post-title{font-family: Roboto; font-size:1rem; font-weight:700; margin-bottom: 1.25em;}
#sticky-posts-2 .post-title a{color:#000; font-size:0.9375rem;}
#sticky-posts-2 .post-meta-text{color:#000; }
#sticky-posts-2  .review-body{background:#eaeaea;}
#sticky-posts-2 .upw-after{
width: 100%;
margin: auto;
    margin-top: auto;
    margin-bottom: auto;
text-align: center;
margin-bottom: 3.125em;
margin-top: 2.1875rem;
}
#sticky-posts-2 .upw-after a{
background: #910235;
color: #fff;
padding-top: 0.9375rem;
padding-bottom: 0.9375rem;
display: inline-block;
padding-left: 3rem;
padding-right: 3rem;
border-radius: 15px;
font-family: 'Intro Light Caps';
font-size:0.9375rem;
}
#sticky-posts-2 .upw-after a:hover{text-decoration:none;}
#sticky-posts-2 .uk-grid + .uk-grid{margin-top: 35px;}


#widgetkit-2{width: 100%;}
#widgetkit-2 .widget-title, h3.widget-title{font-family: Intro Book; 
font-size:2.5rem; text-align:center; margin-top: 0; margin-bottom: 30px;}
#maps h3.widget-title{margin-bottom:30px;}
#widgetkit-9 .widget-title{margin-bottom: 30px;}
.frontpage,  #widgetkit-5, #widgetkit-9{margin-right: 15px; margin-left: 15px;}
.frontpage  h3.widget-title{margin-bottom:30px;}
.widgetkit-mainpage .uk-panel-title, .widgetkit-mainpage .uk-panel-title a{color:#800023; font-size:1.75rem;}
.widgetkit-mainpage .uk-panel-space{padding:0;}
.widgetkit-mainpage  .uk-flex-middle{align-items: flex-start;}
.widgetkit-mainpage  .uk-margin{font-size:1rem; color:#797778; font-family: Intro Book;}
.widgetkit-mainpage  .uk-margin p{margin-bottom:1.25rem;}
.widgetkit-mainpage  .uk-margin strong{font-size:1.25rem; color:#000; font-weight:normal; }
.frontpage .entry-content{margin-top:4.0625rem;}
.widgetkit-mainpage .uk-panel-title{background: url(img/mainicon1.png) no-repeat;
min-height: 44px;
padding-left: 46px;
display: flex;
align-items: center;}
.widgetkit-mainpage .uk-flex-middle:nth-child(2) .uk-panel-title{background: url(img/mainicon2.png) no-repeat; padding-left: 60px; min-height: 32px;}
.widgetkit-mainpage .uk-flex-middle:nth-child(3) .uk-panel-title{background: url(img/mainicon3.png) no-repeat; padding-left: 42px; min-height: 53px;}
.widgetkit-mainpage .uk-flex-middle:nth-child(4) .uk-panel-title{background: url(img/mainicon4.png) no-repeat; padding-left: 52px; min-height: 40px;}

#widgetkit-5{ margin-bottom: 3.125rem;}
#widgetkit-5 .uk-dotnav > *{margin-top: 0px;}
#widgetkit-5 .uk-dotnav > * > *{width: 40px;height: 40px;}
#widgetkit-5 .uk-dotnav > .uk-active > *{transform: none;}

#widgetkit-9{font-family: Intro Book; margin-bottom:4.135rem; width:100%;}
#widgetkit-9 .widget-title{margin-bottom:2.1875rem;}
#widgetkit-9 .uk-panel-title a{color:#800023; font-size: 1.125rem; text-decoration: underline !important;}
#widgetkit-9 .uk-article-meta{font-size: 1.5625rem; margin-bottom:1rem;}
#widgetkit-9  .uk-panel-tease{margin-bottom:1.25rem;}

#mobmenuleft{font-family: Intro Book !important; text-transform:uppercase; font-size:18px;}
#reviews{background:#eaeaea; padding-top:2.5rem; padding-bottom:3.125rem; margin-bottom:3.125rem;}
#mapslabel{background: url(img/map.png) no-repeat;
position: absolute;
height: 176px;
width: 346px;
top: 120px;
left: 50%; }
#maps{position: relative;}
#maps .mapshead{height:58px; line-height:58px; font-size: 19px; padding-left:16px;  color:#fff;}
#maps .mapsadress{font-size: 16px;
padding-left: 80px;
padding-top: 14px;}
#maps .map-block{
background: #fff;
width: 100%; 
padding-top:50px;   
border-radius: 10px 10px 0px 0px;
position: relative;
z-index:100;
}
#maps .map-block-ya{margin-bottom: 1px;position: relative;z-index:1;}
#maps .map-block-ya::before{
box-shadow: 0px 0px 40px 40px rgb(255, 255, 255);
content: '';
height: 0px;
width: 100%;
display: block;
position: absolute;
z-index: 100;
}
#maps .map-name{font-size: 25px;padding-left: 50px;margin-bottom: 10px;font-weight: 600;}
#maps .map-adress{padding-left:50px}
#maps .map-phone{color:#800023;  padding-left:50px}
#maps  .col-md-6{margin-bottom:45px;}
#maps .map-wrap{position: relative; border:1px solid #ccc; border-radius:10px;}
.yamapauthor{margin-bottom: 0rem !important; display:none;}
.wave {
overflow: hidden;
position: relative;
width: 100%;
height: 26px;
}
.line {
position: absolute;
width: 10%;
height: 13px;
}
.line1 {
background: linear-gradient(45deg, transparent, transparent 49%, black 49%, transparent 51%);
}
.line2 {
background: linear-gradient(-45deg, transparent, transparent 49%, black 49%, transparent 51%);
}
.line {
background-size:26px 26px;
}
#maps .fab{font-size:30px; padding-left:10px; padding-right:10px; padding-top:15px;}
#maps a .fab{color:#fff;}
#preim .title {

    font-family: 'Intro Book';
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 15px;

}
#content .uk-list {font-family: Intro Book;}
#content  .uk-list ul {
    padding-left: 0px;
}
#content  .uk-list ul li{color:#910235; font-size:1.375rem;}
#content  .uk-list ul span, #content  .uk-list ul div
{font-weight: 600; color:#000000; display:block; font-size:1rem; margin-bottom:15px;  margin-top:15px; }

.videobg{z-index: 1;}
.videobgblock{z-index: 100;
padding-top: 15.625rem;
padding-bottom: 9.375rem;
position: absolute;
top: 0;
width: 100%;}
.videobg .mejs-controls{display:none;}
#page-sub-header{position:relative;}
.videobg,
.videobg iframe,  .videobg video{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.video-wrapper{width:100% !important;}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
#content .uk-list ul.count li{display:flex; font-weight: 600; line-height: 25px;}
#content .uk-list ul.count li div:first-child{color:#910235; font-size:60px; line-height: 60px; }
#content .uk-list ul.count li div:last-child{color:#910235; font-size: 22px; margin-left:22px;}
#content .uk-list ul.count li div:last-child span{font-size: 1rem;}
#content .uk-list ul.count span {
	margin-top: 0.6em;
font-weight: 500;
}
#content .uk-list ul li{}
#contactform3 .title-block span{
background: url(/wp-content/themes/wp-bootstrap-starter/img/icon31.png);
    background-repeat: repeat;
background-repeat: repeat-x;
padding-left: 3px;
padding-right: 3px;
background-position: left bottom; padding-bottom: 10px;
}
.teacher-row .row:nth-child(2){margin-top:10px;}
#fancybox-content .form-control{margin-bottom:10px;}
#fancybox-content  .form-button .btn{font-size: 1rem;
background: rgba(138,0,35, 0.8); font-family: 'Intro Light Caps';
padding: 1rem;
border-radius: 10px; width: 100%; border:none;}
#wpcf7-form .wpcf7-response-output{margin: 0em 0.5em 1em;}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{border-color: #f00;}
#sticky-posts-2.reviews article{margin-bottom:35px;}
.policy{color:#fff; text-align: center; font-size: 14px;}
.policy a{color:#fff; text-decoration:underline;}
#fancybox-content .policy{color:#000;}
#fancybox-content .policy a{color:#000;}
.header-form{}
.header-form .policy{color: #000;
position: absolute;
top: 100px;
text-align: center;
width: 100%;
color: #fff;
font-size: 14px;}
.header-form .policy a{color:#fff;}
.header-form  .wpcf7-form{position:relative;}
.page-id-656 #page-sub-header h1 p, .page-id-656 #page-sub-header .header-form .title{color:#000;}
#yamap0{margin-bottom:40px;}
.video .owl-stage-outer{
    text-align: center;
    display: flex;
    justify-content: center;
}
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  html {
    font-size: 95%;
  }
    @media (min-aspect-ratio: 16/9) {
    .videobg { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
    .videobg { width: 300%; left: -100%; }
}
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
    color: #fff;
  }
  .navbar-nav .dropdown-menu {
    background: transparent;
    box-shadow: none;
    border: none;
  }

}
@media screen and (min-width: 768px) {
#sticky-posts-2 .uk-width-large-1-5{width: 13%;}
#sticky-posts-2 .uk-width-large-4-5{width: 87%;}
}

/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  html {
    font-size: 90%;
  }
  #result .main-text{ width: 100%; margin-right:0 ; margin-left: 0rem;}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
  #contactform3 .content .text-block {
    line-height: 1;
    padding-top: 0em;
    padding-bottom: 0em;
}
#maps .map-name{font-size:25px; }
#maps .map-adress{}
#maps .map-phone{color:#800023;}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
	#contactform3 {
    margin-bottom: 3.37rem;
}
	#contactform3 .policy {
    position: absolute;
    color: #fff;
    bottom: 0px;
    width: 100%;
    left: 0;
	font-size:12px;
}
#contactform3 .policy a{ color: #fff;}
	#yamap0{margin-bottom:20px;}
	.hr{height:0;}
	.header-form .policy {
    color: #fff;
    top: auto;
    right: auto;
}
.site-header .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
}
.header-form .policy a{color:#fff;}
	.home #page-sub-header {
    background-image: url('img/slider.jpg') !important;
}
  html {
    font-size: 80%;
  }
  #mapslabel{background: url(img/map4.png) no-repeat;
position: absolute; height:150px;
left: 50%; margin-left:-173px;}
	#sticky-posts-2 {text-align: center;}
  #masthead .navbar-nav > li > a {
    padding-bottom: 0.938rem;
    padding-top: 0.938rem;
  }
  #page-sub-header .header-form .form-control{width:100%; margin-left:0rem; margin-right:0em;}
  #inner-reviews .carousel-inner {
    min-height: 250px;
}
#contactform3 .content .title-block{ line-height: 1;
    padding-top: 0em;
    padding-bottom: 0em;}
	#contactform3 .inner-form, #contactform3 .block-form {
    flex-direction: column;
}
#result .main-text{background:none; padding-left:0; padding-right:0; width: 100%;}
#contactform3 .form-control {
    margin-bottom: 10px;
}
#contactform3 .form-button .btn{width:100%;}
#page-sub-header .header-form .inner-form, #page-sub-header .header-form .block-form{display: flex;
flex-direction: column; justify-content: center; align-content: center;}
#page-sub-header .header-form .inp:first-child{margin-bottom:10px;}
#page-sub-header .header-form .btn { width: 100%;}
}
/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media (max-width: 575.98px) { 
.row{margin-left:0; margin-right:0;}
#page-sub-header .header-form .btn{width:100%;}
#inner-reviews .carousel-inner {min-height: 160px;}
footer #main-nav{display:none;}
header#masthead{padding:1rem;}
#page-sub-header {padding-top: 5.625rem;}
#page-sub-header p {font-size: 2rem;}

#result .main-text{margin-right: 1rem;
margin-left: 1rem;}
footer#colophon .site-info {
  padding-bottom: 80px !important;
}

}
@media only screen and (max-width: 480px) {
	.videobgblock {
    padding-top: 10.625rem;
	}
	#mapslabel {
    left: 0;
    margin-left: 0;
	width: 100%;background-size: contain;
	background-position: center;
}
#maps .mapshead {
    padding-left: 0px;
    text-align: center;
}
 #maps .mapsadress {
    padding-left: 80px;
    text-align: center;
}
#maps .fab {
    font-size: 20px;
}
  html {
    font-size: 75%;
  }
  #page-sub-header{padding-top: 10.625rem;}

  
}


.carousel-item .w-100 {
    width: auto !important;
    margin: auto;
	max-height: 500px;
}


.t599__content {
    width: 100%;
    padding: 40px 30px;
    box-sizing: border-box;
	border: 1px solid #ced4db;
    border-radius: 9px;
	background: white;
}

.t-name {

    font-weight: 600;
    color: #000;
	 font-size: 22px;
    line-height: 1.35;
	  margin-bottom: 10px;
	  text-align: center;
}

.t-subtitle {
    color: #777;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 300;
    color: #000;
	text-align: center;
}


.t-price {

    margin-top: 30px;
    font-size: 24px;
    line-height: 1.23;
    font-weight: 600;
    color: #000;
	text-align: center;

}


.t-descr {
    font-weight: 300;
    color: #000;
    text-align: center;
	font-size: 16px;
    line-height: 1.55;
}

#price{padding-bottom: 1.875rem; margin-bottom: 3.375rem;}
#price .row{
justify-content: center;
justify-items: center;
}

#menu-glavnoe-menyu > li.menu-item-has-children:hover > ul.dropdown-menu{display:block !important;}

.page-id-1617 #page-sub-header p, 
.page-id-1617 #page-sub-header .header-form .title, 
.page-id-1617  .header-form .policy,.page-id-1617  .header-form .policy a {color: #000000;}
.page-id-1617 .main-header{text-align:center;}
.page-id-1617  .main-text h4{margin-top: 0px;margin-bottom: 10px;}
.page-id-1617 .t-price{margin-bottom: 30px;}
.page-id-1617  #page-sub-header {background-position: center center;}

.page-id-1617 #text2 p{font-size: 22px; font-weight: 600;}
.page-id-1617 #text2{margin-bottom:20px;}
.teacher-row .row {
  margin-top: 10px;
}
.button-in{margin:auto; width:100%;text-align: center;}
.button-inline {
  text-align: center;
  color: #fff !important;
  font-size: 1.3125rem;
  background: rgba(138,0,35, 0.8);
  font-family: 'Intro Light Caps';
  padding: 1.5625rem;
  border-radius: 10px;
  margin: auto;
  display: inline-block;
  line-height: 1;
  margin:auto;
  text-align: center;
}
#lead-form .alfa-form-button{display:none !important;}
#lead-form .alfa-form-title{color:#fff !important;}