/*
Theme Name: Platforma-40
Author: Dev40ru
Author URI: https://dev40.ru/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.00
Requires at least: 4.7
Requires PHP: 5.6
Description: 
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, theme-options, block-styles, wide-blocks, accessibility-ready
Text Domain: platforma.dev40.ru
*/

/**
 * Table of Contents:
 * 1.0 GENERAL
 * 2.0 HEADER
 *   2.1 MAIN MENU
 *   2.2 MOBILE MENU
 * 3.0 CONTENT
 *  3.1 SLIDER
	3.2 FORM
 * 4.0 FOOTER
 * 6.0 PORTFOLIO AREA
 * 7.0 MEDIA QUERIES
 * --------------------------------------
*/

/*----------------------
1.0 GENERAL
-----------------------*/
html, body {
	padding: 0;
	margin: 0;
	color: var(--bodytextcolor);
	font-family: "Noto Sans", sans-serif;
	
}
*, *:after, *:before  {
	box-sizing: border-box;
}
*, *:after, *:before, a:focus, button:focus  {
	outline: none;
}
div, article, section, header, footer {
	position: relative;
}
a {
	color: #001F37;
	-ms-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
a,
a:hover {
	text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Noto Sans", sans-serif;
	font-weight: 600;
	margin-bottom: 32px;
	color: #1d1c28;
}
h1 {
	font-size: 48px;
	line-height: 52px;
}
h2 {
	font-size: 32px;
	line-height: 36px;
}
h3 {
	font-size: 26px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 17px;
	margin-bottom: 0;
}
h6 {
	font-size: 14px;
	margin-bottom: 0;
}
img {
	max-width: 100%;
	height: auto;
}
p {
	margin-bottom: 24px;
}
small {
	font-size: 0.875;
}
ol, ul {
	padding-left: 24px;
}
.mb-16 {
	margin-bottom: 16px;
}
.mb-32 {
	margin-bottom: 32px;
}
.vh-80 {
	min-height: 80vh;
}
.vh-90 {
	min-height: 90vh;
}
.vh-100 {
	min-height: 100vh;
}
.color-block-1 {
    background: linear-gradient(350deg, #e7e3d400 0%, #e7e3d4 100%);
    padding: 22px 35px 15px 35px;
    border-radius: 8px;
    border: 1px solid #b23850;
}
/*----------------------
2.0 HEADER
-----------------------*/
#main-header {
    position: fixed;	
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1001;
	background: #ffffff;
}
body.home #main-header {

}
body.home.menu-open #main-header {
	background-color: #001F37;
}
body.admin-bar #main-header {
    position: fixed;
	top: 32px;
	background: #ffffff;
}
body:not(.home) #main-header {

}
#main-header .wrapper {
	height: 100%;
    margin: 0px auto;
	padding: 0px;
	flex-direction: column;
    align-items: center;	
}
.top-header {
	width: 100%;
	padding: 10px 0px;
}
.nav-header {
	width: 100%;
	background: #6c757d57;
}
.site-logo {
    width: 100%;
	max-width: 1320px;
	margin: 0px auto;
    display: flex;
    align-items: center;
}
.site-logo img {
	height: 50px;
	margin: 0px 15px;
	border-radius: 8px;
}
body.menu-open .site-logo{
	left: 50%;
	transform: translateX(-50%);
}
.site-logo a {
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 26px;
	font-weight: 200;
	text-transform: uppercase;
	color: #ffffff;
}
.link-ln {
	margin: 5px 8px 12px 7px;
}
a.login-link {
    border: 1px solid #232C77;
    padding: 10px 20px;
	margin-right: 10px;
    font-size: 15px;
    font-weight: 600;
	color: #232C77;
	text-transform: uppercase;
}

/*
 * 2.1 MAIN MENU
*/
.main-menu {
	max-width: 1320px;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
	margin: 0px auto;
}
.main-menu a {
	margin: 0px 20px;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	color: #232C77;
}
.main-menu a:hover {
	color: #E23024;
}


/*
 * 2.2 MOBILE MENU
*/
.icon-menu {
	position: absolute;
	right: 64px;
	cursor: pointer;
}
body.menu-open .mobile-menu {
	display: flex;
}
body.home.menu-open .mobile-menu {
	margin-top: 78px;
}
.mobile-menu {
	flex-direction: column;
	align-items: center;
	width: 100vw;
	padding: 50px 0 40px;
	background: #001F37;
	border-top: 1px solid #fff;
}
.mobile-menu .main-menu {
	flex-direction: column;
	align-items: center;
	gap: 41px;
	margin-bottom: 48px;
}
/*----------------------
3.0 CONTENT
-----------------------*/
.main {
	max-width: 100vw;
	min-height: calc(100vh - 190px);
	overflow: hidden;
	padding-top: 150px;
	background: #f6f6f6;
}
.wp-block-group {
	max-width: 1320px;
    padding: 10px 0px;
    margin: 0px auto;
}
.wp-block-group__inner-container {
	width: 100%;
	margin: 0px auto;
	padding: 0px;
}
.wp-block-cover {
	padding: 0px 0px;
	overflow: hidden;
}
.wp-block-cover__inner-container {
	max-width: 1320px;
	margin: 0px auto;
	padding: 0px;
}


.wrapper {
	padding: 0 65px;
}
.c-primary {
	color: #006F8A;
}
.d-mobile {
	display: none;
}




.page-title {
	position: relative;
	overflow: hidden;
}
.page-title::after {
	position: absolute;
	content: '';
	bottom: 20px;
	width: 80%;
	height: 5px;
	background: #001F37;
}

.fit-content {
	width: fit-content;
	block-size: fit-content;
}

.full-height {
	min-height: calc(100vh - 104px);
}

.single-post .main {
	min-height: calc(100vh - 70px);
	max-width: 1320px;
    padding: 150px 64px 10px;
    margin: 0px auto;
}
.single-project .main, .single-request .main {
	min-height: calc(100vh - 70px);
	max-width: 1320px;
    padding: 150px 64px 10px;
    margin: 0px auto;
}
.single-project-header {
    display: flex;
	justify-content: space-between;
	border-top: 1px solid #b23850;
	padding-top: 10px;
	margin-top: 30px;
}
.project-headers {
	font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: #99a5af;
    color: #ffffff;
    width: fit-content;
    padding: 3px 10px;
    margin: 20px 0px 5px;
}
.single-project-header-left {
	width: 70%;
}
.single-project-header-left .blog-title {
	font-size: 22px;
    line-height: 26px;
    padding: 10px 0px;
    color: #232C77;
}
.file-row {
	display: flex;
	margin: 5px;
}
.file-icon {
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
}
.p-lr-20 {
	padding: 0px 20px;
}
p.block_title {
    background: #6c757d57;
    color: #232C77;
    padding: 5px 15px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}
p.block_title .mb-0 {
    margin-bottom: 0px;
}
h1.blog-title {
	font-size: 24px;
	line-height: 26px;
	padding: 10px 0px;
	color:#232C77;
}
h1.wp-block-heading {
	font-size: 24px;
	line-height: 26px;
	padding: 10px 0px;
	color:#232C77;
}
.wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom: 20px;
    min-height: 150px;
}
a.wp-block-latest-posts__post-title {
    font-size: 18px;
    font-weight: 600;
    color: #232C77;
}
a.wp-block-latest-posts__read-more {
    display: none;
    background: #dee2e6;
    width: fit-content;
    padding: 3px 8px;
	margin-top: 5px;
    font-size: 14px;
}
/************* MAJOR NEWS **********************/
ul.major_news {
	list-style: none;
	padding: 0px;
	margin-bottom: 0px;
  }
  ul.major_news li {
	padding: 0px;
	display: flex;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: right !important;
	min-height: 250px;
  }
  ul.major_news .news_img {
	display: none;
	min-width: 300px;
	min-height: 170px;
	background-repeat: no-repeat !important;
	background-size: contain !important;
  }
  ul.major_news .news_content {
	padding: 20px;
  }
  ul.major_news .news_title {
	text-shadow: 0px 0px 10px #000204;
	font-size: 26px;
	font-weight: 300;
	color: #ffffff !important;
	background: #6c757d9e;
	padding: 5px 20px 5px 20px;
	display: block;
	text-align: left;
  }
  ul.major_news .news_title a {
	font-size: 26px;
	font-weight: 300;
	color: #ffffff !important;
	display: block;
  }
  ul.major_news .news_text {
	text-align: justify;
	margin-bottom: 0px;
  }
  
  /************* CNTI NEWS **********************/
  ul.cnti_news {
	list-style: none;
	padding: 5px 0px 5px 0px;
  }
  ul.cnti_news li {
	padding: 20px 0px;
	display: flex;
	border-bottom: 1px solid $gray-500;
  }
  ul.cnti_news .news_img {
	min-width: 170px;
	min-height: 140px;
	background-repeat: no-repeat !important;
	background-size: contain !important;
	margin-right: 25px;
  }
  ul.cnti_news .news_title {
	font-weight:600;
	text-align: justify;
	color: #232C77;
  }
  ul.cnti_news .news_title, ul.cnti_news .news_title a {
	font-weight:600;
	text-align: justify;
	color: #232C77 !important;
	text-decoration: none !important;
  }
  ul.cnti_news .news_text {
	text-align: justify;
	margin-bottom: 0px;
  }
  
  /************* ENERGO NEWS **********************/
  ul.energo_news {
	list-style: none;
	background: $gray-600;
	padding: 20px 25px 10px;
  }
  ul.energo_news li {
	padding-bottom: 10px;
  
  }
  ul.energo_news .news_title, ul.energo_news .news_title a {
	font-size: 14px;
	font-weight:400;
	cursor: pointer;
	color: $white !important;
	text-decoration: none !important;
  }
  ul.energo_news .news_title:hover {
	font-weight:500;
  }
  
/*
 * 3.2 FORM
*/
.wp-block-contact-form-7-contact-form-selector,
.wpcf7-form-control-wrap {
	display: flex;
	justify-content: center;
}
.wpcf7,
form.user-registration-form {
	width: 70%;
}
.wpcf7-form {

}
.wpcf7-form p {
	margin-bottom: 16px;
}
.wpcf7-form .col-left, .wpcf7-form .col-right {
	width: 50%;
} 
.wpcf7-form label,
.ur-frontend-form label {
	width: 100%;
    font-weight: 400;
    font-size: 14px;
}
.wpcf7-form .small {
	font-size: 20px;
}
.wpcf7-form input,
.wpcf7-form textarea,
.user-registration-Input,
.ur-frontend-form .input-text {
	max-width: 100%;
	width: 100%;
	height: 40px;
	padding: 5px 5px 5px 15px;
	background: #f6f6f6;
	border: 1px solid #232C77;
	border-radius: 3px;
	text-align: left;
	font-weight: 300;
	color: #001F37;
}
.ur-frontend-form input[type=checkbox] {
	outline-style: solid;
	outline-width: 1px;
	outline-color: #232C77;
}
.ur-frontend-form input[type=checkbox]:before {

}
.ur-frontend-form input[type=checkbox]:checked:before {
	color: #232C77 !important;
}
.wpcf7-form textarea {
	padding: 8px 16px;
    min-height: 120px;
}
.wpcf7-form hr {
	margin-top: 57px;
	margin-bottom: 20px;
	border-top: 1px solid #001F37;
	opacity: 1;
}
::-webkit-input-placeholder{
	color: #001F37;
}
::placeholder {
	opacity: 1;
}
.wpcf7-form input.wpcf7-submit,
button.wpcf7-submit,
.ur-submit-button,
.ur-frontend-form input[type=submit] {
	min-width: 150px;
	max-width: 300px;
    height: 40px;
    line-height: 20px !important;
    color: #232C77;
    background: #f6f6f6;
    border: 1px solid #232C77 !important;
    text-align: center !important;
    text-transform: uppercase;
    margin-top: 24px;
    padding: 5px 24px !important;
    border-radius: 3px;
    font-weight: 400;
	font-size: 14px;
}
.wpcf7-not-valid-tip {
	position: absolute;
	top: 47px;
	right: 0;
	font-size: 16px;
}
.cf_maxchar {
	font-size: 14px;
	line-height: 21px;
	margin-top: 16px;
	display: block;
}
/*----------------------
4.0 FOOTER
-----------------------*/
#main-footer {
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: #ffffff;
	background: var(--footercolor);
}
#main-footer .wrapper {
    max-width: 1264px;
    padding: 10px 64px;
	margin: 0px auto;
    align-items: center;
	justify-content: space-between;
}
.footer-logo img {
	height: 50px;
}
#main-footer .footer-logo a {
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 26px;
	font-weight: 200;
	text-transform: uppercase;
	color: #ffffff;
}
#main-footer .address-title, #main-footer .contact-title {
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
}
#main-footer .address, #main-footer .contact {
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 34px;
	font-weight: 400;
	color: #ffffff;
}
#main-footer .address a, #main-footer .contact a {
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 34px;
	font-weight: 400;
	color: #ffffff;
}

.back-to-top-wrapper {
    position: fixed;
    outline: none;
    bottom: 60px;
    right: 32px;
    display: inline-block;
    transition: transform 80ms ease-in;
}
.back-to-top-link img {
    width: 64px;
	height: 64px;
}

/*----------------------
7.0 MEDIA QUERIES
-----------------------*/
@media only screen and (max-width: 1400px) {
	.wp-block-media-text[style="grid-template-columns:auto 63%"] { grid-template-columns: auto 50% !important; }
	.wp-block-media-text[style="grid-template-columns:63% auto"] { grid-template-columns: 50% auto !important; }
}
@media only screen and (max-width: 1200px) {
	#main-header .wrapper,
	.wp-block-cover,
	.wp-block-group,
	.wrapper,
	#main-footer .wrapper { padding-left: 16px; padding-right: 16px; }
		body:not(.home) #header-border {
		height: 160px;
		background-size: 100% 120px;
	}
	.main {
		padding-top: 100px;
	}
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 64px; }
	.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 64px; }
	.site-logo { left: 64px;}
	.link-ln { right: 64px; }
	.main-menu { width: calc(100vw - 400px);}
	.wp-block-cover { padding-top: 100px; padding-bottom: 100px; }
	
}
@media only screen and (max-width: 1080px) {
	body:not(.home) #main-header { position: relative; top: 0; }


	
}
@media only screen and (max-width: 820px) {


}
@media only screen and (max-width: 768px) {
	html, body { font-size: 18px; }
	#main-header { height: 78px; }
	.main { padding-top: 48px; }
	.site-logo {
		width: 114px;
        top: 15px;
	}
	.wp-block-group {
        padding-left: 0px;
        padding-right: 0px;
    }
	.wp-block-group.contact {
        padding-left: 16px;
        padding-right: 16px;
    }
	h1, h2, h3, h4, h5, h6 { margin-bottom: 12px; }
	h1 { 
		font-size: 32px !important;
		line-height: 35px !important;
	}
	h2 { 
		font-size: 27px !important;
		line-height: 29px !important;
	}

	h3 { font-size: 25px; }
	h4 { font-size: 27px; }
	p { margin-bottom: 38px; }
	.d-mobile { display: block; }
	
	#main-header .wrapper { 
		padding-left: 8px;
		padding-right: 8px;
		padding: 52px 8px;
	}

	.wpcf7 { width: 100%; }
	.wpcf7-form {
		display: flex;
		flex-direction: column;
		gap: unset;
        justify-content: flex-start;
		margin-bottom: 48px;
	}
	.wpcf7-form .col-left, .wpcf7-form .col-right {
		width: 100%;
	}
	.contact p{
		font-size: 16px !important;
		line-height: 24px !important;
	}
	.cf_maxchar {
		font-size: 12px;
		line-height: 18px;
	}
	footer .wrapper {
		flex-direction: column;
	}
	#main-footer .wrapper {
		padding: 24px 16px;
	}
	#main-footer .address, #main-footer .contact, #main-footer .links {
		margin-top: 32px;
	}
	#bottom-footer .wrapper {
		padding: 24px 16px;
	}
	.back-to-top-link {
		bottom: 30px;
		right: 17px;
	}

}
@media only screen and (max-width: 600px) {
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding-left: 24px; }
	.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__content { padding-right: 24px; }
	.site-logo { left: 24px;}
	.wp-block-media-text { display: flex; flex-direction: column; margin-top: 34px; }
	.wp-block-media-text__content { order: 1; }
	.wp-block-media-text__media { order: 2; }
	.wp-block-media-text p { padding-top: 20px; padding-bottom: 34px; }
	.wp-block-media-text p.has-text-align-right { padding-top: 20px; padding-bottom: 54px; }
	.wp-block-media-text p.has-text-align-right::before { display: none; }
	.wp-block-media-text.is-vertically-aligned-top p::before { bottom: auto; top: 0;  }
	.wp-block-media-text.is-vertically-aligned-top p { padding-top: 20px; padding-bottom: 32px; }

	#main-footer { padding: 10px 0; }
	.asset { font-size: 8.22px; }
	.slick-track { gap: 27px; }
	.mb-6 { margin-bottom: 50px; }

}
@media only screen and (max-width: 480px) {

}