/*   
Theme Name: spectr-osv
Theme URI: https://sitespectr.ru/
Version: 1.0
Tags: clean, development, html5, bootstrap
Description: Wordpress theme with bootstrap3 markup for sitespectr.ru
Author: Sergey O.
Author URI: https://sitespectr.ru/
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {margin: 5px 20px 20px 0;}
.aligncenter, div.aligncenter {display: block; margin: 5px auto 5px auto;}
.center {text-align: center;}
.alignright {float:right; margin: 5px 0 20px 20px;}
.alignleft {float: left; margin: 5px 20px 20px 0;}
a img.alignright {float: right; margin: 5px 0 20px 20px;}
a img.alignnone {margin: 5px 20px 20px 0;}
a img.alignleft {float: left; margin: 5px 20px 20px 0;}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.wp-caption {background: #fff; border: 1px solid #f0f0f0; max-width: 96%;
    padding: 5px 3px 10px; text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto;}
.wp-caption p.wp-caption-text {font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px;}
/* Text meant only for screen readers. */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px); position: absolute !important;
	height: 1px; width: 1px; overflow: hidden;}
.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: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none;
	top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */
}

/* ***************************** my-css **************************** */

body {
	max-width: 100%;
    overflow-x: hidden;
	background-color: #ffffff;
   background-image: url(/wp-content/uploads/2023/03/fon11.jpg);
	background-size: cover;
	background-position: center top ;
	background-repeat: no-repeat; 	
	background-attachment: fixed;
}

body, p {
    font-size: 16px;
	color: #333;	
}
h1, h2, h3, h4, h5, h6 {
	color: #555; 
	font-family: "Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-sans;
	font-weight: 400;
}
h1 {
	font-size: 32px;	
    text-align:center; 
    padding: 5px 10px 5px 10px;
    margin: 15px 0 20px 0;	
}
h1 .hidden {
	display: none;
}

a {color: #555; text-decoration: none;}
a:hover, a:focus {color: #ff9900; text-decoration: none;}
blockquote p {
	font-size: 17px;
	color: #026019;
	font-family: 'Arial', Helvetica, sans-serif;
}

/* **************** header ******************* */
header {
	background-color: #ffffff transparent;
}


.fix{
position:fixed;
top: 1px;
left: 0px;
	width: 100%;
z-index: 999;
background-color: #555;
	min-height: 30px;
}
.not_fix{ 
	width: 100%;
/*background-color: rgba(26,26,26,0.4);*/
	background-color: #555;
	min-height: 30px;

}

.custom-logo {
	height: 90px;
	width: auto;
	text-align: center;
	margin-bottom: 2px;
	margin-top: 2px;
}
.phone-header {
	text-align: left;
	font-size: 16px;
	padding-top: 12px;
	color: #555;
}
.phone-header p, .phone-header a, .phone-header-btn a {
	color: #555;
}
.phone-header a:hover, .phone-header a:focus, .phone-header-btn a:hover, .phone-header-btn a:focus {
	color: #ff9900;
}
.phone-header-btn img {
	width: 24px;
	height: 24px;
}
.phone-header-btn {
	padding-top: 18px;	
	font-size: 24px;
}

.navbar {
    min-height: 26px;
    margin-top: 1px ;
	margin-bottom: 1px ;
}
.navbar-collapse.collapse {
    padding-top: 0px;
}
.navbar-default {
    background-color: transparent;
    border-color: transparent;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: transparent;
}
.navbar-default .navbar-nav>.active>a {
	color: #ffffff;
	background-color: transparent;
}

.navbar-default .navbar-nav a, .navbar-default .navbar-nav>li>a {
    font-size: 14px;
    color: #fff;
    padding: 6px 0px;
	margin: 0 12px 0 12px;
    letter-spacing: 0.5px;
    font-weight: 400;
    position: relative;
    z-index: 999;
    background-color: transparent;
	display: inline-block;
	line-height: 1;
}
.navbar-default .navbar-nav a:focus, .navbar-default .navbar-nav a:hover,  .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>li>a:hover, .navbar-nav>li>a:focus {
   color: #ff9900;
   background-color: transparent;
}
.navbar-default .navbar-nav>li>a:after {
    display: block;
    content: "";
    background-color: #ff9900;
    height: 1px;
    width: 0%;
    left: 50%;
    position: absolute;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
} 

.navbar-default .navbar-nav>li>a:focus:after, .navbar-default .navbar-nav>li>a:hover:after {
    width: 100%;
}
.navbar-default .navbar-toggle {
    border-color: #333;	
	color: #333;
    margin-right: 3px !important;
	margin-top: 1px !important;
}
.navbar-default .navbar-toggle:hover {
    background-color: #fff;
}
.dropdown-menu {
    background-color: #1a1a1a;
}

/* **************** widget  ******************* */
.widget {
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 20px 15px 5px 15px;
	border-left: 1px dotted #c4c4c4;
	background-color: #fff;
	color: #656565;
}
.widget p {
	color: #656565;
}
.widget a {
	color: #656565;
}

.widget a:hover, .widget a:focus {
	color: #ff9900;
}
footer .widget {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px 5px;
	background: transparent;
	border: none;
}

.widget ul {
	list-style-type: none;	
	padding-left: 20px;
}
.widgettitle {
	display: flex;
	justify-content: center;
	text-align: center;
	padding-bottom: 15px;
	color: #ff9900;
    font-size: 24px;
	font-weight: 400;
	font-family: "Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-sans;
}
/* **************** footer  ******************* */
footer {
	border-top: 1px dotted #1a1a1a;		
	background: #555;
	padding-bottom: 10px;
}

footer .widget {
	background: #555;
	color: #fff;
	border: none;
}
footer .widget a, footer .widget p{
	color: #fff;
}

.footer-inner {
    font-size: 12px;
    color: #fff;
	background-color: #1a1a1a;
    width: 100%;
    padding-top: 12px;
	border-top: 1px solid #fff;
}
.footer-inner p {
    font-size: 12px;
    color: #fff;
}
.footer-inner a {
    font-size: 10px;
    color: #fff;
}
/* **************** .img-increase, .block-increase ******************* */
.img-increase, .block-increase {
    transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.8s ease-out;
	box-shadow: 0px 0px 17px -8px #000000;
}
.img-increase:hover, .block-increase:hover {
		 transform: scale(1.05);
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -o-transform: scale(1.05);
	 box-shadow: 0px 0px 17px -8px #000000;
	
        }
.img-increase:hover a {
		color: #009900 !important;
	    border-color: #009900 !important;
        }
/* **************** bg-grad  ******************* */
.bg-grad {
   /* background: linear-gradient(to top, #C63FAA, #86C0FF, #0C53F6); */
	background-image: url(/wp-content/uploads/2022/12/fonstola.ru_94686.jpg);
	background-size: cover;
}
.transf {
	-webkit-transform: rotate(-5deg);
  -moz-transform: rotate(-5deg);
  -o-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);
  transform: rotate(-5deg);	
}
/* **************** button ******************* */
.my-btn, .phone-header-btn .my-btn {
    background: #fff !important;
    min-height: 26px;
    border-radius: 5px;
	border: 2px solid #ff9900;
    line-height: 20px;
    color: #ff9900 !important;
    font-size: 16px;
    text-align: center !important;
    font-weight: 400;
    position: relative;
	padding: 6px 15px 6px 15px !important;
}
.my-btn:hover, .my-btn:focus, .phone-header-btn .my-btn:hover, .phone-header-btn .my-btn:focus {
    background: #fff !important;
    color: #ff9900 !important;
	border: 2px solid #ff9900;
	box-shadow: 0px 0px 51px -7px #ff9900;
}


/* **************** ряд  ******************* */

#s001 h1 {
	text-shadow: 2px 2px 3px #000000;
}
#s001 h2 {
	font-weight: 400;
	text-shadow: 2px 1px 3px #ffffff;	
}
#s001 p {
	text-shadow: 1px 1px 3px #ffffff;
}
#s002 h2 {
	font-weight: 400;
	margin-bottom: 30px;
}
#s002 h3 {
	font-weight: 400;
	font-size: 28px;
    margin-top: 10px;
}
#s003, #s005  {
	background-attachment: fixed !important;		
	background-position: center !important;
}
.mes-icon img {
    width: 22px;
    height: 22px;
}
#s004 {
	background: linear-gradient(to top, #ffffff,  #e0e0e0, #ffffff) !important;	
}

/* **************** ******************* */

/* ****************** contact form 7 ******************** */
#wpcf7-f845-p41-o1, #wpcf7-f927-o2, #wpcf7-f928-o3 { 
	margin: 10px; 
	padding: 10px; 
	background: #ffffff; 
	font-family: Georgia, "Times New Roman", Times, serif; 
	color: #1a1a1a; 
}

#wpcf7-f845-p41-o1 label, #wpcf7-f927-o2 label, #wpcf7-f928-o3 label {
    display: inline-block;
    max-width: 300px;
    margin-bottom: 10px;
	font-size: 14px;
    font-weight: 500;
}
#wpcf7-f845-p41-o1 input {
    max-width: 300px;
	height: 50px;
	margin-top: 10px;
	border: 2px solid #A9A9A9;
	border-radius: 5px;
	font-size: 16px;
    font-weight: 500;
	color: #A9A9A9;
}
#wpcf7-f927-o2 input, #wpcf7-f928-o3 input {
    max-width: 270px;
	height: 35px;
	margin-top: 3px;
	border: 2px solid #A9A9A9;
	border-radius: 5px;
	font-size: 16px;
    font-weight: 500;
	color: #A9A9A9;
}
#wpcf7-f845-p41-o1 input[type=submit], #wpcf7-f927-o2 input[type=submit], #wpcf7-f928-o3 input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
	padding: 10px 35px 25px 35px;
	background: linear-gradient(to right, #ff9900, #ff6600) !important;
	font-family: Georgia, "Times New Roman", Times, serif; 
	color: #ffffff;
	border: 2px solid #ff9900;
	font-size: 20px;
    font-weight: 500;
}
#wpcf7-f927-o2 input[type=submit], #wpcf7-f928-o3 input[type=submit] {
	padding: 10px 35px 25px 35px;
	border: 2px solid #ff9900;
	font-size: 16px;
}
#wpcf7-f845-p41-o1 input[type=submit]:hover, #wpcf7-f845-p41-o1 input[type=submit]:focus, #wpcf7-f927-o2 input[type=submit]:hover, #wpcf7-f927-o2 input[type=submit]:focus, #wpcf7-f928-o3 input[type=submit]:hover, #wpcf7-f928-o3 input[type=submit]:focus {
	background: linear-gradient(to right, #ff6600, #ff9900) !important; 
}

#wpcf7-f845-p41-o1 input[type=checkbox], #wpcf7-f927-o2 input[type=checkbox], #wpcf7-f928-o3 input[type=checkbox] {
	float: left;
	height: 15px;
	margin-right: 13px;
}
.checkbox-cf p {

	font-size: 12px;	
}
.checkbox-cf a {
	color: #ff9900;	
}
.wpcf7-form.sent p {
display:none;
}
.wpcf7-form.sent h3 {
display:none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
	border-radius: 5px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	color: #46b450;
	padding: 15px 25px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}
label {
    font-weight: 400 !important;
	font-size: 14px;
}



/* ***********  osv-min-block ************ */
.osv-min-block {
	min-height: 250px !important;
}
/* ***********  Обводка .ramka-5 ************ */
.ramka-5 {
    position: relative;
    min-height: 350px;
	z-index: 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;     
}
.ramka-5::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: #949494;
    background-repeat: no-repeat;
    background-size: 50% 50%, 50% 50%;
    background-position: 0 0, 100% 0, 100% 100%, 0 100%;
    background-image: linear-gradient(#949494, #949494), linear-gradient(#ff9900, #ff9900), linear-gradient(#949494, #949494), linear-gradient(#ff9900, #ff9900);
    animation: anim-ramka-5 5s linear infinite;
}
.ramka-5::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 6px;
    top: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    background: white;
    border-radius: 5px;
}
@keyframes anim-ramka-5 {
    100% {
        transform: rotate(1turn);
    }
}
/* ***********  The end .ramka-5************ */
.soc-img {
	height: 18px;
	width: auto;
}
/* **************** @media (min-width: 768px)  ******************* */
@media (min-width: 768px) {
	.navbar-collapse.collapse {
    display: flex !important;
	flex-direction: row;
justify-content: center;
}
	#s001 h1 {
		font-size: 56px;
		font-weight: 400;
	}	
}
/* **************** @media (max-width: 979px)  ******************* */
@media (min-width: 979px) { 
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu {
		display: block;
	}
	.comment-list .children {
		padding: 0;
		margin-left: 74px;
		padding-bottom: 15px;
	}
	.comment-list .media {
		margin-top: 0;
	}
}
/* **************** @media (max-width: 720px)  ************************************************ */

@media (max-width: 720px){	
    h1 {font-size: 24px;}
	h2 {font-size: 20px;}
	h3 {font-size: 16px;}
	h4 {font-size: 14px;}
	p {font-size: 14px;}
	.meta p, .meta a {font-size: 10px;}
	.vc_tta-panel-heading {display: none !important; 
}
	
	#s001 h1 {
	font-size: 26px;
		font-weight: 400;
	text-shadow: 1px 1px 1px #000000;
}
	#s001 h2 {
	text-shadow: 1px 1px 1px #ffffff;		
	font-weight: 400;
}
#s002 h2 {
	font-size: 26px;
	margin-bottom: 30px;
}
#s002 h3 {
	font-size: 20px;
	margin-bottom: 30px;
}	
.phone-header {
	text-align: left;
	font-size: 12px;
	padding-top: 10px;
	padding-left: 8px;
}
.phone-header p, .phone-header a {
	color: #fff;
}	
.custom-logo {	
	    position: relative;
	height: 60px;
	width: auto;
	padding-left: 10px;
}
	#s007 h2 {
    font-size: 32px;
}
	
.nf-field-label {
		display: none !important;
	}
.my-btn, #s001 .my-btn {
    min-height: 37px;
    border-radius: 5px;
    line-height: 26px;
    font-size: 14px;
    text-align: center !important;
    position: relative;
	padding: 4px 12px 4px 12px !important;
}
.phone-header-btn {
    padding: 6px;
	text-align: center !important;
	font-size: 18px;
}
.phone-header-btn .my-btn {
    line-height: 16px;
    font-size: 14px;
    font-weight: 400;
    position: relative;
	padding: 4px 12px 4px 12px !important;
}	
.navbar-default .navbar-nav a, .navbar-default .navbar-nav>li>a {
    font-size: 14px;
    padding: 6px 0px;
}


/* ********************contact form 7******************* */

	#wpcf7-f927-o1 { 
	margin: 0px; 
	padding: 0px; 
}
	#wpcf7-f927-o1 input {
    max-width: 230px;
	font-size: 14px;
}
	#wpcf7-f927-o1 label {
    max-width: 230px;
	font-size: 14px;
}
	#wpcf7-f927-o1 input[type=submit] {
    font-weight: 400;
	font-size: 14px;
}
}





