/*
Theme Name: IMS Basic
Description: IMS Basic WordPress Theme
Version: 4.4
Author: IMS DESIGN
Author URI: //ims-design.ru/
*/

/*---Normalize--------------------------------------------------------------------------- */

body, html {
    height: 100%;
}
.youtube {
  position: relative;
  padding-bottom: 56.25%; 
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
 
.youtube iframe {
  position: absolute;
  top: 0;
  left: 300;
  width: 100%;
  height: 100%;
 
}

body {
    margin: 0;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

article, footer, header, main, nav, section, div, input, textarea {
    display: block;
}

a, a:active, a:focus, button, button:focus, button:active, .btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none !important;
    outline: 0 !important;
}

input::-moz-focus-inner {
    border: 0 !important;
}

*, *:after, *:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

a:hover, a:active, button:focus, button:hover, button:active, input:focus, input:hover, input:active {
    outline: 0 !important;
}

a:focus {
    outline: 0 !important;
}

b, strong {
    font-weight: bold;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

button, select {
    text-transform: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
	height: auto;
	border: 0;
    display: block;
}

/*---Basic-Structure--------------------------------------------------------------------- */

body {
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 16px;
    line-height: 1.5;
    background: #f5f5f5;
}

main {
	max-width: 1920px;
	min-height: 100vh;
	overflow: hidden;
	margin: 0 auto;
    background: #fff;
}

section, .section, .wp-block-group {
    position: relative;
}

.wrapper, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1280px !important;
    margin: 0 auto;
    z-index: 2;
}

.overlay {
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
}

.awesome {
    position: relative;
}

.awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	content: '';
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	top: 0;
	height: 100%;
	font-weight: 900;
    color: currentColor;
}

.awesome:before {
    left: 0;
}

.main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before {
	right: 0;
}

.fas.scrolltop {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #ffd76f;
    font-size: 32px;
    z-index: 9;
    transition: color .5s;
    cursor: pointer;
    display: none;
}

/*---Flexbox----------------------------------------------------------------------------- */

.flex-around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex-between, .main-nav > ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center, .btn, .fab, .main-nav ul a, .awesome:before, .main-nav ul:not(.sub-menu) > li.menu-item-has-children > a span:before, .main-nav > ul li ul.sub-menu, .wp-block-kadence-column, .buttons .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-wrapper, .stretch {
	align-items: stretch;
}

.item {
    position: relative;
    padding: 30px;
}

.x2 {
    width: calc(50% - 10px);
}

.x3 {
    width: calc((100% - 40px) / 3);
}

.x4 {
    width: calc((100% - 60px) / 4);
}

.item .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

/*---Kadence-Blocks---------------------------------------------------------------------- */

.wp-block-kadence-rowlayout :is(.kt-row-layout-inner, .kt-row-column-wrap, .wp-block-kadence-column, .kt-inside-inner-col) {
    height: 100% !important;
}

.wp-block-kadence-rowlayout .kt-row-column-wrap {
	max-width: 1280px;
	margin: 0 auto;
}

.wp-block-kadence-iconlist ul {
    margin: 0 !important;
}

.wp-block-kadence-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header {
	cursor: pointer;
}

/*---Basic-Typography-------------------------------------------------------------------- */

h1, h2, h3, h4, .popup-title {
    margin: 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.4em;
    margin: 0;
}

h2 {
	font-size: 2.1em;
    margin: 0;
}

h3, .popup-title {
	font-size: 1.4em;
    margin: 0;
}

h4 {
	font-size: 1.1em;
    margin: 0;
}

.page-title {
    margin: 10px 0 34px;
}

.popup-title {
    color: #144db0;
    font-weight: 700;
}

.popup-title, .page-title {
    text-align: center;
}

a {
    position: relative;
    transition: all .3s;
    color: #ffd76f;
}

p, label {
    margin: 0;
}

/*---Header------------------------------------------------------------------------------ */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 0;
    transition: all .3s;
    z-index: 5;
}

/*---Home-Page--------------------------------------------------------------------------- */

.wrapper-01 {
    color: #fff;
}

.wrapper-01 .info {
	width: calc(100% - 440px);
}

.wrapper-01 .wp-block-image {
	transform: translatey(80px);
}

.wrapper-01 .btn {
    margin-left: 0;
}

.buttons {
    width: fit-content;
    gap: 20px;
    margin: 0 auto;
}

.buttons .item {
	padding: 10px 20px;
	color: #fff;
	font-weight: 700;
	letter-spacing: .03em;
}

.buttons .item:first-of-type {
    background: #144db0;
}

.buttons .item:last-of-type {
    background: #25d366;
}

.buttons .item:hover {
    color: #ffd76f;
}

.kt-blocks-carousel .slick-prev:before {
	left: 3px;
}

.kt-blocks-carousel .slick-arrow:before {
	color: #ffd76f;
}

.wrapper-02 {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 20px;
}

.wrapper-02 .item {
	box-shadow: -3px 3px 32px 16px rgba(0,0,0,.04);
	border-radius: 20px;
    background: #fff;
}

.wrapper-02 .item .icon {
    background: url('/saratov/wp-content/uploads/sprite.png');
}

.wrapper-02 .item:nth-of-type(2) .icon {
    background-position: 180px;
}

.wrapper-02 .item:nth-of-type(3) .icon {
    background-position: 120px;
}

.wrapper-02 .item:nth-of-type(4) .icon {
    background-position: 60px;
}

/*---Footer------------------------------------------------------------------------------ */

footer {
    position: relative;
	width: 100%;
	margin: 0 auto;
 	overflow: hidden;
	color: #fff;
    background: linear-gradient(141deg,rgb(20,20,84) 27%,rgb(20,77,176) 100%);
    padding: 18px 0;
    min-height: 52px;
}

footer a {
    color: #ffd76f;
}

/*---Pages------------------------------------------------------------------------------- */

.breadcrumbs {
    margin: 0 auto;
    font-size: 0.813em;
    opacity: .9;
}

.breadcrumbs a {
    color: currentColor;
}

.sec-page {
    height: 100%;
    padding-top: 0;
    padding-bottom: 30px;
}

.sec-page article {
    border: 1px solid #ececec;
    width: 100%;
    padding: 30px;
    border-radius: 2px;
}

.sec-404 {
    min-height: calc(100vh - 60px);
    text-align: center;
}

/*---Editor-Styles----------------------------------------------------------------------- */

article a {
    text-decoration: underline !important;
}

article .kt-tabs-title-list li a {
    text-decoration: none !important;
}

article .wp-block-separator {
	border: 0;
	border-top: 1px solid #ececec;
    margin: 0 !important;
}

article :is(p, h2, h3, h4, .wp-block-image, .wp-block-table, .wp-block-kadence-iconlist, .wp-block-kadence-tabs, .wp-block-kadence-accordion) {
    margin: 0 0 20px !important;
}

article > ul, article > ol {
    margin: 0 0 20px !important;
}

.wp-block-table tr {
    transition: all .3s;
}

.wp-block-table tr th, .wp-block-table tr td {
    border: 1px solid #ececec;
    padding: 10px;
}

article > *:last-child {
    margin: 0 !important;
}

.wp-block-image {
    margin: 0 !important;
}

.wp-block-video {
	margin: 0 auto !important;
	max-width: 720px;
}

.wp-block-kadence-advancedgallery img {
    border: 1px solid #d1d1d1;
}

.wp-block-embed {
    width: 100%;
    max-width: 768px;
    margin: 0 auto !important;
}

.wp-block-embed__wrapper {
	padding-bottom: 56.25% !important;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

/*---Popup------------------------------------------------------------------------------- */

.btn {
	width: 100%;
	max-width: 240px;
	height: 46px;
	border: 1px solid #ffd76f;
	cursor: pointer;
	transition: all .3s;
	margin: 0 auto;
	border-radius: 2px;
	font-weight: 700;
	letter-spacing: .03em;
}

.btn:hover {
    color: #ffd76f;
    background: rgba(255,255,255,.05)
}

.backdrop {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity .3s;
}

.backdrop.animate {
    opacity: 1;
    pointer-events: auto;
}

.ims-popup {
	position: fixed;
	left: 50%; top: 50%;
	transform: translatex(-50%) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: 100%;
 	max-width: 768px;
	background: #fff;
	z-index: 11;
	padding: 50px 10px;
    opacity: 0;
    transition: all .3s;
    flex-direction: column;
    border-radius: 2px;
}

.ims-popup.animate {
	opacity: 1;
    pointer-events: auto;
 	transform: translatex(-50%) translatey(-50%) scale3d(1, 1, 1);
}

.ims-popup, .ims-popup * {
    pointer-events: none !important;
}

.ims-popup.animate, .ims-popup.animate * {
    pointer-events: auto !important;
}

.popup-close {
	position: absolute;
	right: 0; top: 0;
	height: 30px; width: 30px;
 	cursor: pointer;
    z-index: 20;
}

.popup-close:before {
	display: flex;
	justify-content: center;
 	align-items: center;
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	color: #444;
    font-family: 'Font Awesome 5 Free';
	font-weight: 900;
    font-size: 20px;
    content: '\f00d';
    transition: all .3s ease;
}

.popup-close:hover:before {
	color: #777;
}
/*---Forminator-------------------------------------------------------------------------- */

.forminator-custom-form {
	max-width: 480px;
    margin: 0 auto !important;
}

.forminator-button.forminator-button-submit {
	padding: 0 !important;
	display: flex !important;
	justify-content: center;
	align-items: center;
	height: 42px !important;
	width: 100% !important;
	box-shadow: none !important;
    font-size: 1rem !important;
    transition: all .3s !important;
}

.forminator-response-message {
	border-radius: 0 !important;
	padding: 10px 16px !important;
}

.forminator-response-message .screen-reader-only {
    display: none !important;
}

.forminator-guttenberg .forminator-custom-form {
	max-width: 810px;
	padding: 60px 40px !important;
	box-shadow: -3px 3px 32px 16px rgba(0,0,0,.04);
	border-radius: 20px !important;
	background-color: #fff !important;
}

.forminator-guttenberg .forminator-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.forminator-guttenberg .forminator-row.forminator-row-last {
    display: block;
    margin: 0 !important;
    padding-top: 25px;
}

.forminator-guttenberg .forminator-col {
	width: calc((100% - 40px) / 3);
	padding: 0 !important;
}

.forminator-guttenberg .forminator-select--field option {
	line-height: 1 !important;
	font-size: 13px !important;
}

.forminator-guttenberg .forminator-label {
	color: #444 !important;
	margin-bottom: 5px !important;
    font-weight: 400 !important;
}

.forminator-edit-module {
    display: none !important;
}

/*---Adaptive-Design--------------------------------------------------------------------- */

@media only screen and (min-width : 1980px) {
main {
	border-left: 1px solid #ececec;
	border-right: 1px solid #ececec;
}
}

@media only screen and (max-width: 1280px) {
.wrapper, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    padding: 0 2%;    
}

.wrapper-01 h1 {
	font-size: 2.2em;
}
}

@media only screen and (max-width: 1170px) {
.wrapper-01 h1 br {
	display: none;
}

.wrapper-01 h1 a {
	white-space: nowrap;
}
}

@media only screen and (max-width: 1080px) {
.wrapper-01 h1 {
	font-size: 2em;
}

h2 {
    font-size: 1.7em;
}

h3 {
    font-size: 1.2em;
}
}

@media only screen and (max-width: 810px) {
.ims-popup {
	left: 2%; right: 2%;
	transform: translatex(0) translatey(-50%) scale3d(1.1, 1.1, 1);
	width: auto;
}

.ims-popup.animate {
	transform: translatex(0) translatey(-50%) scale3d(1, 1, 1);
}

.wrapper-01 {
	color: #fff;
	flex-direction: column;
}

.wrapper-01 .info {
	width: 100%;
	padding-top: 60px;
}

.wrapper-01 h1 {
	text-align: center;
}

.wrapper-01 .wp-block-kadence-iconlist {
	width: fit-content;
	margin: 0 auto;
}

.wrapper-01 .btn {
	margin-left: auto;
}

.wrapper-01 .wp-block-image {
	transform: translatey(60px);
	max-width: 360px;
}

.forminator-guttenberg .forminator-row {
	flex-direction: column;
    margin-bottom: 20px !important;
}

.forminator-guttenberg .forminator-col {
	width: 100%;
}
}

@media only screen and (max-width: 640px) {
body {
    font-size: 14px;
}

.wrapper, .wp-block-group__inner-container, .wp-block-kadence-rowlayout .wp-block-kadence-column {
    padding: 0 3%;    
}

.x2, .x3, .x4 {
    width: 100%;
}

.wrapper-02 .item p br {
	display: none;
}
}

@media only screen and (max-width: 480px) {
.wrapper-01 .info {
	padding-top: 40px;
}

.wrapper-01 h1 {
	font-size: 1.4em;
}

h2, .popup-title {
	font-size: 1.25em;
}

h3 {
	font-size: 1.1em;
}

.wrapper-01 .wp-block-image {
	transform: translatey(40px);
	max-width: 280px;
}

.buttons {
	gap: 16px;
	flex-direction: column;
	align-items: stretch;
}

footer {
	padding: 18px 40px;
}
}

@media only screen and (max-width: 360px) {
.wrapper-01 h1 {
	font-size: 1.2em;
}
}
