/*
Theme Name: Основная тема. Не менять!!!
Theme URI: https://sitevufe.ru/
Author: Ruslan Bay
Author URI: https://sitevufe.ru/
License: GNU General Public License v2 or later
License URI: https://sitevufe.ru/
Text Domain: mytheme
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/*ДЛЯ ОБТЕКАНИЯ ФОТО*/
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left!important;
margin-right: 20px;
margin-top:10px;
}
.alignright {
float: right!important;	
margin-left: 20px;
margin-top:10px;
}
/*FRONT-PAGE*/


/*TOP MENU*/

/*Left MENU*/
.menu li a{font-weight:bold;color:#444}
.menu li{padding:14px;border-bottom:1px solid #ddd;position:relative;padding-left:26px;}
.menu li:before{position:absolute;content:"\f105";font-family:"FontAwesome";left:0;top:15px}
.menu li.active a{color:#079821}
.menu li:hover a{color:#079821}
.menu .sub-menu a{color:#000!important}
.menu .sub-menu li:hover a{color:#079821!important}

.sub-menu li:last-child{border-bottom:none;}
/*SIDEBAR*/
.my-widget h4{margin-bottom:22px;}

.my-form-wrap{width:70%}
/*.rl-image-widget-link{display:inline-block; margin-top:34px;}*/
.rl-image-widget-text{margin-top:10px;line-height:20px;}
.rl-image-widget-image{margin-top:4px;}
.textwidget{margin-top:10px;}


/*BREADCRUMBS*/
.my-breadcrumbs{font-size:18px;color:#fff;font-style:italic;}
.my-breadcrumbs a, .my-breadcrumbs a span, .my-breadcrumbs span{color:#fff;}
.my-breadcrumbs span{color:#fff;}
.my-breadcrumbs .fa-home:before{color:#fff;}
.my-breadcrumbs .my-title{color:#02afff;padding-left:10px;}
.my-breadcrumbs .kb_sep{padding:0 10px;display:inline-block;}
/*PAGE - ЗАГОЛОВКИ, ПАРАГРАФЫ, СПИСКИ - PAGE*/
body .my-page-content:first-child{margin-top:0px;}
.my-section-full{position:relative;}
.my-section-full h3{color:#fff}
.my-section-full:before{position:absolute;content:"";width:100%;background:rgba(0,0,0,0.4);height:100%;top:0}
.my-page-content{min-height:150px;}
.my-page-content p{font-weight:400;}
.my-page-content img{max-width:100%;height:auto;}
.my-page-content .wp-caption{max-width:100%;} 
@media (min-width: 768px){
	.my-page-content h1,.my-page-content .h1 {
		line-height: 1.2;
		font-size: 32px;
	}
	.my-page-content h2,.my-page-content .h2 {
		line-height: 1.2;
		font-size: 26px;
	}
	.my-page-content h3,.my-page-content .h3 {
		line-height: 1.2;
		font-size: 20px;
	}
	.my-page-content h4,.my-page-content .h4 {
		font-size: 18px;
	}
	.my-page-content h5,.my-page-content .h5 {
		font-size: 16px;
	}
	.my-page-content h6,.my-page-content .h6 {
		font-size: 14px;
	}		
}
.my-page-content h1 + *,.my-page-content .h1 + *{margin-top:0;}
.my-page-content p + p{margin-top:20px;}

.my-page-content h1, .my-page-content .h1, .my-page-content h2, .my-page-content .h2, .my-page-content h3, .my-page-content .h3, 
.my-page-content h4, .my-page-content .h4 , .my-page-content h5, .my-page-content .h5, .my-page-content h6, .my-page-content .h6  
{margin-top:0;margin-bottom:20px;font-weight:600;font-style:normal;}
.my-page-content h5.search-title{margin-top:0;margin-bottom:0;font-size:20px;}
.blog-post.my-page-content h2{margin-bottom:0}


body .my-page-content ul, body .my-page-content ol, body .my-resp-tab ul, body .my-resp-tab ol{margin:20px 12px 20px 15px;padding-left:8px;}
body .my-page-content ul li, body .my-page-content ol li, body .my-resp-tab ul li, body .my-resp-tab ol li{display:list-item;padding:2px 0;}
body .my-page-content ul li, body .my-resp-tab ul li{list-style:disc;}
body .my-page-content ol li,body .my-resp-tab ol li{list-style:decimal;}

.my-page-content h5 + *,.my-page-content .h5 + * {margin-top:20px;}
.my-page-content p + h5 {margin-top:20px;}
.my-divider{width:100%}

.my-page-content p,.my-page-content ul,.my-page-content ol,.my-page-content dl,.my-page-content dt,.my-page-content dd,.my-page-content blockquote,.my-page-content address {
    margin: 0 0 20px;
}

/*404*/

/*SEARCH*/
#search-results ul{padding-left:0;margin-left:0;margin-right:0}
#search-results ul li{padding:10px 10px;border-radius:2px;margin-bottom:6px;border-bottom:1px solid #ddd}

.search-title{margin-bottom:0!important;}
.search-title a{font-weight:600;}
#search-results .search-list-item p{margin-top:4px;margin-bottom:0px;font-size:15px;}
.search-list-item{margin-bottom:0;}
#search-results .search-link{font-size:20px;color:#333;line-height:10px;}
#search-results .search-link:hover{color:#259ef5;}
#search-results .search-link-2{font-size:13px;color:#999;line-height:1px;}

/*ПАГИНАЦИЯ*/
.pagination{margin-top:30px;background:#fff;border:none;width:100%;}

.nav-links a, .nav-links span{
position: relative;
float: left;
padding:12px 20px;
margin-left: -1px;
line-height: 1.42857143;
color: #444;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
transition: all 0.3s ease-in-out;
}
.nav-links {text-align:center;width:100%;}
.nav-links span{pointer-events:none;background: #02afff  none repeat scroll 0 0;color: #ffffff;}
.nav-links a.prev:before{
display: inline-block;
position: relative;
font-weight: 400;
font-family: 'FontAwesome';	
content: "\f104";
}
.nav-links a.next:before{
display:inline-block;
position:relative;
font-weight:400;
font-family:'FontAwesome';	
content:"\f105";
}
.nav-links a:hover{background: #02afff  none repeat scroll 0 0;color: #ffffff;}


/*АРХИВ*/
.my-thumbnail-2{margin-bottom:40px}
.my-thumbnail-2 a.h4{font-size:15px;line-height:20px;display:inline-block;color:#222}
.my-thumbnail-2 .img-wrap{margin-bottom:10px;max-height:200px;overflow:hidden}
.my-thumbnail-2 img{height:200px;width:auto}
.my-btn{width:100%;padding:6px;}
.caption-meta .fa-rub{color:#079821;font-weight:bold;}
.cat-desc{width:100%;padding-left:15px;margin-top:30px;}
/*SINGLE*/
.my-blog-meta .fa-rub{display:inline-block;float:right;color:#079821;font-weight:bold;}

.blog-post.my-page-content .badge{margin-right:0}
.my-responsive-tab .resp-tabs-list li{padding:10px;font-size:12px;}


/*ФОРМЫ*/
#overlay {width:100%;height:100%;position:fixed;top:0;left:0;display:none;background:#000;opacity:.8;z-index:999999998;}
div.modal{display:none;max-width:500px;margin: auto;}
.modal{z-index:999999999;top:100px;}
a.close_modal{position:absolute;font-size:40px;right:20px;top:0}
.mail{display:none!important;}
.modal-content{width:500px;}

.form-privacy-policy{margin-top:10px;font-size:14px;}
.form-privacy-policy a{color: #fff;text-decoration:underline;}
.form-privacy-policy a:hover{color: #a60000;}


/*POPUP*/
#overlay {width:100%;height:100%;position:fixed;top:0;left:0;display:none;background:#000;opacity:.8;z-index:999998;}
.popup{
padding:15px;position:fixed;top:10%;left:50%;display:none;overflow:hidden;border:1px solid #ccc;background:#fff;
z-index:999999;border-radius:10px;}
.popup a.close {width:16px;height:16px;display:block;position:absolute;top:16px;right:20px;font-size:40px;}
.popup a.close:hover {color:#e96167;}
.popup_form{margin-left:-200px;width:400px;}
.popup_form p{font-size:18px;color:#222;width:388px;line-height:24px;}
.popup_form form{margin-top:10px;}
.popup_form input[type=text],.popup_form input[type=password] 
{padding:20px 0 14px 14px;margin:0px 2px;border:none;display:block;overflow:hidden;
border-radius:4px;box-shadow:inset 2px 2px 5px 0px rgba(0,0,0,0.55);}
.popup_form input[type=button] {
height:36px;width:100%!important;margin:0px 15px 0 0;padding:3px 10px;background:#1f223e;border:0;transition: all 0.5s ease-in-out;
border-radius:4px;color:#fff;font:bold 16px "Century Gothic",Arial, san-serif;line-height:24px;position:relative;cursor:pointer;}
.popup_form textarea {
height:90px;width:360px;padding:8px 0 8px 14px;margin:16px 2px;border:none;
border-radius: 7px;box-shadow:inset 2px 2px 5px 0px rgba(0,0,0,0.55);overflow:hidden;display:block;}
.popup_form input[type=button]:hover {color:#fff;background:#ff7f00;}
.popup_form input[type=checkbox]{display:inline-block;margin-top:5px;}
.popup_form input.mail {display:none;}
.popup_form label{cursor:pointer;font-size:18px;}
.popup_form label:hover{color:#222;}
/**/
#uptocall-mini {position:fixed;bottom:300px;right:40px;cursor:pointer;z-index:999;}
@media (min-width: 768px) and (max-width: 971px) {
	#uptocall-mini {position:fixed;bottom:180px;right:40px;cursor:pointer;z-index:999;}
}
#uptocall-mini .uptocall-mini-phone {-moz-border-radius:50% !important;-webkit-border-radius:50% !important;border-radius:50% !important;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;
background-color:rgba(17, 34, 192, .5);
width:70px;height:70px;-webkit-animation: uptocallmini 1.5s 0s ease-out infinite;-moz-animation: uptocallmini 1.5s 0s ease-out infinite;animation: uptocallmini 1.5s 0s ease-out infinite;}
#uptocall-mini .uptocall-mini-phone:before {content:"";position:absolute;width:100%;height:100%;top:0;left:0;background-image:url(images/phone.png);background-repeat:no-repeat;background-position:center center;
-webkit-animation: uptocallphone 1.5s linear infinite;-moz-animation: uptocallphone 1.5s linear infinite;animation: uptocallphone 1.5s linear infinite;}
@-webkit-keyframes uptocallphone {
0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes uptocallphone {
0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes uptocallphone {
0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes uptocallmini {
0% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 0px rgba(0,0,0,0), 0 0 0px 0px rgba(17, 34, 192, 0);}
10% {box-shadow: 0 0 8px 6px #1122c080, 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px #1122c080;}
100% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 40px rgba(0,0,0,0), 0 0 0px 40px rgba(17, 34, 192, 0);}
}
@-moz-keyframes uptocallmini {
0% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 0px rgba(0,0,0,0), 0 0 0px 0px rgba(17, 34, 192, 0);}
10% {box-shadow: 0 0 8px 6px #1122c080 , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px #1122c080;}
100% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 40px rgba(0,0,0,0), 0 0 0px 40px rgba(17, 34, 192, 0);}
}
@keyframes uptocallmini {
0% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 0px rgba(0,0,0,0), 0 0 0px 0px rgba(17, 34, 192, 0);}
10% {box-shadow: 0 0 8px 6px #1122c080 , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px #1122c080;}
100% {box-shadow: 0 0 8px 6px rgba(17, 34, 192, 0), 0 0 0px 40px rgba(0,0,0,0), 0 0 0px 40px rgba(17, 34, 192, 0);}
}
@media(max-width:737px){
  #uptocall-mini{display:none;}
}


/*MY-MARGINS, PADDINGS*/
.mmt-10{margin-top:10px;}
.mmt-20{margin-top:20px;}
.mmt-30{margin-top:30px;}
.mmt-40{margin-top:40px;}
.mptb-40{padding-top:40px;padding-bottom:40px;}
.mmb-30{margin-bottom:30px;}
.mmb-40{margin-bottom:40px;}
/*Таблица*/
:focus {
outline:0;
}
/*For tables still need to write 'cellspacing="0"' in code*/

table {
border-collapse:collapse;
border-spacing:0;
}

caption, th, td {
text-align:left;
font-weight:normal;
}

#wp-calendar caption, #wp-calendar th, #wp-calendar td {
text-align:center;
font-weight:normal;
text-shadow:none;
}
#wp-calendar caption {font-weight:600;color:#333;font-size:16px;text-align:left;}
#today{background:#62a602;color:#fff}
#today a{color:#fff;font-weight:normal;}
blockquote:before, blockquote:after,
q:before, q:after {
content:"";
}
blockquote, q {
quotes:"" "";
}

table {
width:98%!important;
max-width:98%;
color:#333;
font-size:16px;
text-shadow: 1px 1px 0px #fff;
background:#eaebec;
margin:20px 0;
border:#ccc 1px solid;
border-collapse:collapse;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow: 0 1px 2px #d1d1d1;
-webkit-box-shadow: 0 1px 2px #d1d1d1;
box-shadow: 0 1px 2px #d1d1d1;
}
table#wp-calendar {
width:100%!important;
max-width:100%;
color:#333;
font-size:14px;
margin:0;
}
table th {
font-weight:bold;
font-size:16px;
padding:10px;
border-top:1px solid #e0e0e0;
border-bottom:1px solid #e0e0e0;
border-left:1px solid #e0e0e0;
text-align:center !important;
background: #ededed;
background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}

table#wp-calendar  th {
font-weight:bold;
font-size:13px;
padding:10px;
}
th:first-child{
text-align: left;
padding-left:20px;
}
table#wp-calendar th:first-child{
text-align: center;
padding-left:10px;
}
table tr:first-child th:first-child{
-moz-border-radius-topleft:3px;
-webkit-border-top-left-radius:3px;
border-top-left-radius:3px;
}
table tr:first-child th:last-child{
-moz-border-radius-topright:3px;
-webkit-border-top-right-radius:3px;
border-top-right-radius:3px;
}
table tr{
text-align: center;
padding-left:20px;
}
table tr td:first-child{
text-align: left;
padding-left:20px;
border-left: 0;
}
table tr td {
padding:14px;
border-top: 1px solid #e0e0e0;
border-bottom:1px solid #e0e0e0;
border-left: 1px solid #e0e0e0;
background: #fafafa;
background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
table#wp-calendar tr td {
padding:10px;
}
table tr:nth-child(even) td{
background: #f4f4f4;
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f4f4f4));
background: -moz-linear-gradient(top,  #f8f8f8,  #f4f4f4);
}
table tr:last-child td{
border-bottom:0;
}
table tr:last-child td:first-child{
-moz-border-radius-bottomleft:3px;
-webkit-border-bottom-left-radius:3px;
border-bottom-left-radius:3px;
}
table tr:last-child td:last-child{
-moz-border-radius-bottomright:3px;
-webkit-border-bottom-right-radius:3px;
border-bottom-right-radius:3px;
}
table tr:hover td{
background: #f2f2f2;
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	
}

table a:link {
color: #333;
text-decoration:underline;
font-weight:bold;
}
table a:visited {
color: #555;
font-weight:bold;
text-decoration:underline;
}
table a:active,table a:hover {
color: #62a602;
text-decoration:underline;
}

/*GALLERY*/
.rl-gallery:not(.rl-hidden-text) .rl-gallery-link:after {background-color: rgba(0,0,0,0.4)!important;}

/*мой календарь*/



/*мобилка*/
 @media (max-width: 640px){
    .brand-name img.logo-mobile{width:140px;}
	.my-thumbnail-2 img {height:auto;width:100%;}
	.sidebar .sidebar-module {max-width:100%;}
	.rd-mailform-mod-2 .my-form-wrap-2,.my-form-wrap {width:70%;}
	.my-form-wrap-2,.my-form-wrap, .my-search-bottom{display:inline-block;margin:0}
	.my-search-bottom{margin-top:-4px;}
	.rd-mailform{text-align:left}
	.my-section-full{padding-top:30px;padding-bottom:30px;}
	.my-breadcrumbs {display:none;}
	.my-page-content h1, .my-page-content .h1, .my-page-content h2, .my-page-content .h2, .my-page-content h3, .my-page-content .h3, 
	.my-page-content h4, .my-page-content .h4 , .my-page-content h5, .my-page-content .h5, .my-page-content h6, .my-page-content .h6  {line-height:1.1}
	body {font-size:17px;line-height:1.5;}
	a.badge, span.badge {font-size: 17px;}
	.my-blog-meta .fa-rub {float:none;}
	.caption-bg .h1{font-size:26px;}
	#search-results ul {margin-left:20px;}
}
 @media (max-width: 414px){
	.my-section-full{padding-top:20px;padding-bottom:20px;}
	.my-form-wrap {width:70%;}
	.my-section-full h3{font-size:22px;}
}
 
.phone{font-weight:bold;padding-bottom:8px;display:block}
/*NEW*/
.my-widget .sub-menu{position:absolute;background:#f2f2f2;z-index:9;left:102%;top:0;padding:20px;min-width:300px;-webkit-box-shadow:0 0 10px 2px rgba(0, 0, 0, 0.22);
box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.22);}
.rd-navbar-top-panel-wrap .login .list-inline.my-bottom-icons{float:none;}
.rd-navbar-top-panel-wrap .login .list-inline.my-bottom-icons > li a{color:#fff;}
.rd-navbar-top-panel-wrap .login .list-inline.my-bottom-icons > li:hover a{color:#ddd;}