@font-face {
    font-family: "CenturyGothic-Regular";
    src: url("../fonts/CenturyGothic-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "CenturyGothic-Bold";
    src: url("../fonts/CenturyGothic-Bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Raleway-Bold";
    src: url("../fonts/Raleway-Bold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Raleway-Regular";
    src: url("../fonts/Raleway-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Raleway-Light";
    src: url("../fonts/Raleway-Light.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "Raleway-Italic";
    src: url("../fonts/Raleway-Italic.woff") format("woff");
    font-display: swap;
}

/* @font-face {
    font-family: "NeoSansCyr-LIght";
    src: url("../fonts/NeoSansCyr-LIght.ttf");
}

@font-face {
    font-family: "CupheadMemphis-Medium";
    src: url("../fonts/CupheadMemphis-Medium.ttf");
} */

::after,
::before {
    box-sizing: border-box;
}

img {
    display: block;
    max-inline-size: 100%;
}

p {
    margin: 0px;
}

a {
    text-decoration: none;
}

body {
    font-family: CenturyGothic-Regular;
    line-height: 24px;
    font-size: 14px;
    margin: 0px;
}

.container {
    max-width: 1140px;
    margin: 0px auto;
}

.top-header {
    background: #131519;
}

.our-info {
    padding: 0px;
}

.our-info span {
    display: inline-block;
    box-sizing: border-box;
    margin: 24px 0px 16px;
    padding-right: 50px;
    color: #ffffff;
}

.our-info span:first-child {
    margin-left: 0px;
}

.our-info .fa-map-marker-alt {
    margin-right: 10px;
    margin-bottom: 1px;
}

.our-info .fa-phone {
    margin-right: 10px;
    transform: rotate(90deg);
}

.our-info .fa-envelope {
    margin-right: 10px;
}

.bot-header {
    background: #e6e6e6;
}

.bot-header-wrapper {
    display: flex;
}

.bot-header-wrapper .fa-calculator {
    margin-right: 11px;
}

.logo {
    margin: 14px 0px;
    font-family: Raleway-Bold;
    color: #0f0f1a;
    font-size: 36px;
}

.nav-bar {
    flex-grow: 1;
}

.nav-array {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 32px 0px 0px 45px;
}

.nav-item {
    position: relative;
    margin-right: 7px;
    cursor: pointer;
    font-family: Raleway-Bold;
    font-size: 16px;
    color: #444444;
}

.nav-item:last-child {
    margin-right: 0px;
}

.nav-item:last-child > .nav-link {
    padding-right: 0px;
}

/* .nav-item:nth-child(n + 2):nth-child(-n + 3) > .nav-link {
    position: relative;
} */

/* .nav-item:nth-child(n + 2):nth-child(-n + 3) > .nav-link::after {
    position: absolute;
    width: 10px;
    height: 6px;
    top: 6px;
    right: 3px;
    content: "";
    background-image: url(../img/nav-arrow.png);
    background-repeat: no-repeat;
} */

.nav-link,
.nav-inner-link {
    text-decoration: none;
    color: #444444;
}

.nav-link {
    text-transform: uppercase;
    padding-right: 16px;
    padding-left: 16px;
}

.nav-link:hover,
.nav-inner-link:hover {
    color: #1773a0;
}

.nav-inner-array {
    display: none;
    position: absolute;
    white-space: nowrap;
    left: 16px;
    padding: 10px 15px;
    border-left: 4px solid #1773a0;
    background-color: #fff;
    list-style: none;
}

.nav-item:hover > .nav-inner-array {
    display: block;
}

.nav-inner-link {
    display: block;
    margin-bottom: 5px;
    font-family: CenturyGothic-Regular;
    font-size: 14px;
}

.nav-str {
    padding: 15px 0px;
    border-top: 1px solid #c6c6c6;
    background: #e6e6e6;
    font-size: 15px;
}

.about {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url(../img/index.jpg) no-repeat;
    background-size: cover;
    background-position: 0% 60%;
    padding-top: 183px;
    padding-bottom: 207px;
}

.about-title,
.about-text {
    text-align: center;
    color: #fff;
}

.about-title {
    margin-bottom: 25px;
    /*font-family: NeoSansCyr-Light;*/
    font-size: 40px;
}

.about-text {
    line-height: 32px;
    font-size: 18px;
    letter-spacing: 0.28px;
}

.buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.left-btn,
.right-btn {
    font-family: CenturyGothic-Bold;
    font-size: 18px;
    color: #fff;
}

.left-btn {
    padding: 13px 50px 13px 50px;
    margin-right: 9px;
    border: 2px solid #d4d4db;
}

.right-btn {
    padding: 14px 28px 12px 28px;
    margin-left: 9px;
    background-color: #4c4e55;
}

.our-services {
    padding-top: 64px;
    padding-bottom: 90px;
    background: #fff;
}

.os-title {
    text-align: center;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 36px;
    color: #000;
}

.os-text {
    text-align: center;
    font-size: 16px;
    color: #444444;
}

.os-lines {
    display: block;
    margin: 25px auto 0px;
    width: 78px;
    height: 3px;
    content: "";
    background-image: url(../img/lines.png);
}

.os-blocks {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
}

.os-block {
    margin-top: 58px;
    padding: 30px 20px 51px 20px;
    width: 100%;
    flex-basis: 25%;
    box-sizing: border-box;
}

.os-block:nth-child(odd) {
    background-color: #fafafa;
}

.os-block:nth-child(even) {
    background-color: #efefef;
}

/* ДОПОЛНИТЕЛЬНЫЙ ОТСТУП ДЛЯ КОРОТКИХ ЗАГОЛОВКОВ */
/*.os-blocks:nth-child(2) > .os-block:nth-child(2) > h3, .os-blocks:nth-child(2) > .os-block:nth-child(3) > h3, .os-blocks:nth-child(3) >  .os-block:nth-child(3) > h3{
	margin-bottom: 35px;
}*/
.os-block:nth-child(2) > h3,
.os-block:nth-child(4) > h3,
.os-block:nth-child(5) > h3 {
    margin-bottom: 35px;
}

.os-icon {
    font-size: 48px;
    color: #242c42;
}

.os-block > h3 {
    margin-top: 24px;
    margin-bottom: 11px;
    font-family: Raleway-Bold;
    font-size: 22px;
    color: #444444;
}

.os-block p {
    margin-bottom: 42px;
    color: #444444;
    letter-spacing: 0.3px;
}

.os-button {
    padding: 12px 23px 14px 23px;
    border: 1px solid #0f0f1a;
    font-size: 20px;
    color: #242c42;
}

.os-button:hover {
    background-color: #242c42;
    color: #fff;
    padding: 13px 24px 15px 24px;
    border: none;
}

.our-advantages {
    padding-top: 65px;
    padding-bottom: 88px;
    background: #001b30;
}

.oa-title {
    text-align: center;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 36px;
    color: #fff;
}

.oa-text {
    text-align: center;
    font-size: 16px;
    color: #fff;
}

.oa-lines {
    margin: 25px auto 0px;
    width: 78px;
    height: 3px;
    content: "";
    background-image: url(../img/lines-w.png);
}

.oa-blocks {
    display: flex;
    text-align: center;
    flex-wrap: wrap;
}

.oa-block {
    margin-top: 56px;
    margin-right: 30px;
    padding: 42px 13px 47px 13px;
    background-color: #fff;
    flex-basis: 28%;
    box-sizing: border-box;
    flex-grow: 1;
}

.oa-block:nth-child(3n) {
    margin-right: 0px;
}

.oa-icon {
    font-size: 36px;
    color: #242c42;
}

.icon-mt > img {
    vertical-align: middle;
    width: 50px;
}

.oa-block > h3 {
    margin-top: 17px;
    margin-bottom: 12px;
    font-family: Raleway-Bold;
    font-size: 22px;
    color: #333333;
}

.oa-block p {
    color: #333333;
    line-height: 25px;
    letter-spacing: 0.25px;
}

.calculator-ind {
    padding-bottom: 88px;
    padding-top: 65px;
    background: #e6e6e6;
}

.calc-intro-ind {
    padding-bottom: 91px;
}

.top-footer {
    background: #131519;
    color: #fff;
}

.top-footer > .container {
    display: flex;
}

.top-footer > .container > div > span {
    display: block;
}

.contact-title {
    margin-bottom: 10px;
    font-family: Raleway-Bold;
    font-size: 24px;
    color: #fff;
}

.contact-left {
    width: 35%;
    margin-top: 20px;
}

.footer-contacts-str {
    color: #d4d4db;
}

.footer-contacts-str .footer-contacts-icon {
    margin-right: 10px;
}

.contact-right {
    width: 30%;
    margin: 34px 20px 20px 35px;
}

.footer-social-link {
    color: inherit;
    cursor: pointer;
}

.footer-phone > .fa-phone {
    transform: rotate(90deg);
}

.callback {
    width: 35%;
}

/*
.callback-title {	
	margin: 20px 0px 15px 0px;
	font-family: Raleway-Light;
	font-size: 24px;
}
*/
.callback-button {
    display: inline-block;
    margin: 50px 0px 0px 0px;
    padding: 10px 50px 10px 50px;
    border: 2px solid #d4d4db;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
}

/* CALLBACK FORM */

.cb-wrapper {
    display: none;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: black;
    opacity: 0.8;
    z-index: 1;
}

.form-container {
    display: none;
    position: fixed;
    max-width: 550px;
    top: 50%;
    left: 50%;
    margin-top: -295px;
    margin-left: -262px;
    padding: 20px 15px;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 2;
}

.close-popup {
    position: absolute;
    width: 30px;
    height: 32px;
    padding: 0px;
    right: -45px;
    top: 0px;
    border: 0;
    background: url(../img/cl-pu.png) no-repeat;
    cursor: pointer;
}

.cb-title {
    margin: 0px 0px 12px;
    font-family: Raleway-Bold;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

.cb-text {
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
    text-align: center;
    font-size: 24px;
}

.callback-form {
    margin-top: 20px;
}

.form-item > label {
    display: inline-block;
    margin-bottom: 2px;
    font-size: 14px;
}

.form-item > div > input {
    height: 24px;
    margin-bottom: 16px;
    padding: 5px 10px;
    width: 160px;
    border: 1px solid black;
    background-color: #f7f7f7;
    font-size: 14px;
}

.form-item > div > textarea {
    width: 400px;
    border: 1px solid black;
    resize: none;
    background-color: #f7f7f7;
}

.form-item input:focus,
.form-item textarea:focus {
    background-color: #fff;
}

.form-item .cb-icon {
    font-size: 22px;
}

.cb-submit {
    display: block;
    min-width: 84px;
    margin: 20px auto 0px;
    padding: 12px 25px 10px;
    border: none;
    background-color: #1773a0;
    font-family: Raleway-Regular;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

.form-policy {
    margin-top: 16px;
    font-size: 12px;
}

.form-link {
    color: #0c08ff;
    cursor: pointer;
    border-bottom: 1px dotted;
}

.form-link:hover {
    color: #ff0000;
    cursor: pointer;
    border-bottom: 1px dotted;
}

/* CALLBACK FORM ENDS */

/* CALCULATOR STARTS */
.calculator {
    /*padding-top: 35px;*/
    /*padding-bottom: 88px;*/
    /*background: #e6e6e6;*/
}

.calc-title {
    text-align: center;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 36px;
    color: #444444;
}

.calc-text {
    text-align: center;
    font-size: 16px;
    color: #444444;
}

.calc-lines {
    display: block;
    margin: 25px auto 0px;
    width: 78px;
    height: 3px;
    content: "";
    background-image: url(../img/lines.png);
}

.calculator-blocks {
    display: flex;
    /*margin-top: 56px;*/
}

.sliders-separator {
    font-size: 16px;
}

.noUi-target {
    width: 500px;
    margin-top: 10px;
}

.slide-input {
    margin-top: 10px;
    width: 25px;
    text-align: center;
    font-size: 14px;
}

.sno-choice {
    margin: 10px 0px 0px 60px;
    min-width: 200px;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 15px;
}

.sno-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 50%;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-container:hover input ~ .sno-checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .sno-checkmark {
    background-color: #2196f3;
}

.sno-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .sno-checkmark:after {
    display: block;
}

.radio-container .sno-checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-container label {
    padding-left: 40px;
}

.price-calculated {
    margin: 10px 0px 0px 150px;
    font-size: 18px;
}

#price {
    display: inline-block;
    margin-top: 10px;
    font-size: 24px;
}

.note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 18px;
}

.calc-submit {
    display: block;
    min-width: 84px;
    margin: 15px 0px 0px;
    padding: 12px 25px 10px;
    border: none;
    background-color: #1773a0;
    font-family: Raleway-Regular;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

/*
.open-dc-wrapper {
	margin-top: 30px;	
	text-align: center;
}

.open-dc {
	border-bottom: 1px dashed #163e76;
	font-size: 15px;
	color: #163e76;	
	cursor: pointer;
}

.open-dc:hover {
	color: red;
	border-color: red;
}
*/

.detailed-calc {
    display: flex;
    margin-top: 40px;
}

.detailed-calc div {
    margin-right: 40px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.dc-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 1px solid;
}

.checkbox-container:hover input ~ .dc-checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .dc-checkmark {
    background-color: #2196f3;
}

.dc-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .dc-checkmark:after {
    display: block;
}

.checkbox-container .dc-checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* CALCULATOR ENDS */

/* SUB PAGES AND STYLES DEFAULTS ("sp" at class names means "subpage", "lb" means "leftbar") */

.subpage-wrapper {
    background-color: #fff;
}

.sp-box {
    display: flex;
    margin-bottom: 30px;
}

.sp-section {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 17px;
}

.sp-section > h2 {
    margin-bottom: 15px;
}

.sp-subtitle {
    margin: 20px 0px 0px;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 36px;
    line-height: 54px;
}

.sp-subtitle_l3 {
    margin: 10px 0px 0px;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 26px;
}

.sp-indent {
    margin: 10px 0px;
    line-height: 26px;
    color: #444444;
}

.sp-indent:nth-child(2) {
    margin-top: 0px;
}

.sp-leftbar {
    margin-right: 40px;
}

.lb-menu {
    margin-top: 30px;
    width: 280px;
    background-color: #f6f6f6;
}

.lb-title {
    margin: 0px;
    padding: 20px 0px 20px 25px;
    background: #1773a0;
    font-family: Raleway-Bold;
    font-size: 20px;
    color: #fff;
}

.lb-items {
    list-style: none;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.lb-link {
    display: block;
    padding: 8px 0px 8px 10px;
    border: 1px solid #cecece;
    border-bottom: none;
    font-size: 14px;
    color: #444444;
}

.lb-link:hover {
    background-color: #b6b6b6;
}

.lb-item:last-child > .lb-link {
    border-bottom: 1px solid #cecece;
}

.lb-callback {
    margin-top: 30px;
    margin-bottom: 35px;
    border: 1px solid #cecece;
    background-color: #f6f6f6;
}

.lb-form-item {
    margin-top: 12px;
    padding-left: 10px;
}

.lb-form-item > label {
    display: inline-block;
    font-size: 14px;
}

.lb-form-item > div > input {
    height: 14px;
    padding: 5px;
    width: 160px;
    border: 1px solid black;
    font-size: 14px;
}

.lb-cb-submit {
    display: block;
    margin: 25px auto 20px;
    padding: 10px 20px;
    border: none;
    background-color: #d4d4d4;
    font-family: Raleway-Regular;
    font-size: 16px;
    cursor: pointer;
}

/*.lb-button {
	display: block;
	margin: 10px auto 0px;
	padding: 12px 0px;	
	width: 280px;
	border: none;
	cursor: pointer;
	background: #1773a0;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
}
*/
/*.lb-buttons-block {
	display: flex;
	flex-direction: column;
}*/

.lb-button {
    display: block;
    margin: 10px auto 0px;
    padding: 12px 0px;
    width: 280px;
    border: none;
    cursor: pointer;
    background: #1773a0;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
}

.lb-button-link {
    display: block;
    margin-top: 10px;
    padding: 9px 24px;
    border: none;
    cursor: pointer;
    background: #1773a0;
    font-size: 16px;
    color: #fff;
    font-family: CenturyGothic-Bold;
    text-align: center;
    text-transform: uppercase;
}

/*.left-btn, .right-btn {
	font-family: CenturyGothic-Bold;
	font-size: 18px;
	color: #fff;
}

.left-btn {
	padding: 13px 50px 13px 50px;
	margin-right: 9px;
	border: 2px solid #d4d4db;
}*/

.lb-icon {
    vertical-align: middle;
    font-size: 33px;
    line-height: 0px;
}

.sp-calculator-wrap {
    background: #e6e6e6;
}

.link-def {
    color: #0c08ff;
    cursor: pointer;
}

.link-def:hover {
    color: #fc0000;
    cursor: pointer;
}

/* SUB PAGES AND STYLES DEFAULTS ENDS */

/*  /about page */

.about-up {
    padding: 40px 0px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url(../img/8werqr.png) no-repeat;
    background-size: cover;
    color: #fff;
}

.about-up h1 {
    margin-bottom: 35px;
    /*font-family: NeoSansCyr-LIght;*/
    font-size: 30px;
}

.about-up p {
    margin: 10px 0px;
}

.about-up-text {
    font-size: 16px;
}

.about-up-cb {
    display: block;
    min-width: 84px;
    margin: 30px 0px 0px;
    padding: 12px 25px 10px;
    border: none;
    background-color: #1773a0;
    font-family: Raleway-Regular;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

/*  /about page ends */

/* /contacts page */

.c-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 65px;
}

.c-lines {
    display: block;
    width: 78px;
    height: 3px;
    content: "";
    background-image: url(../img/lines.png);
}

.c-title {
    margin: 30px 0px 12px;
    font-family: Raleway-Bold;
    font-size: 24px;
}

.c-text {
    margin: 38px 0px 31px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.3px;
}

.c-info-str {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.3px;
}

.c-social-link {
    color: inherit;
}

.c-info-str > .fa-phone {
    transform: rotate(90deg);
}

.c-icon {
    margin-right: 18px;
    font-size: 20px;
}

.c-right {
    margin-left: 36px;
    margin-bottom: 40px;
}

.c-info {
    margin-top: 20px;
    margin-bottom: 35px;
}

.c-writeus-form {
    margin-top: 45px;
}

.c-input {
    box-sizing: border-box;
    width: 263px;
    padding: 15px 19px;
    border: 1px solid #bfbfbf;
    font-family: CenturyGothic-Regular;
    font-size: 15px;
}

.c-input:nth-child(odd) {
    margin-bottom: 18px;
    margin-right: 25px;
}

.c-msg {
    box-sizing: border-box;
    width: 555px;
    height: 120px;
    padding: 17px 19px;
    border: 1px solid #bfbfbf;
    font-family: CenturyGothic-Regular;
    font-size: 15px;
    resize: none;
}

.c-msg-submit {
    display: block;
    margin: 20px auto 0;
    padding: 12px 30px 12px 20px;
    border: none;
    background-color: #242c42;
    font-family: Raleway-Bold;
    font-size: 22px;
    color: #fff;
}

.c-form-policy {
    margin-top: 16px;
    font-size: 12px;
    margin-bottom: 91px;
}

.success-message-wrapper {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: black;
    opacity: 0.8;
}

.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -42px;
    margin-left: -226px;
    padding: 20px 15px;
    box-sizing: border-box;
    background-color: #fff;
    opacity: 1;
}

.success-message-close {
    display: block;
    margin: 10px auto 0px;
}

.c-map {
    margin-bottom: 91px;
}

/* /contacts page ends */

/* calculator page starts */

.calcpage-intro {
    padding: 40px 0px 40px 0px;
    background: #f3f3f3;
    background-size: cover;
    /*color: #fff;	*/
}

.calcpage-intro h1 {
    margin-top: 0px;
    font-size: 30px;
}

.calcpage-intro p {
    margin: 10px 0px;
}

.calcpage-link {
    color: #0c08ff;
    cursor: pointer;
    border-bottom: 1px dotted;
}

.calcpage-link:hover {
    color: #ff0000;
    cursor: pointer;
    border-bottom: 1px dotted;
}

.calcpage-calc {
    padding-bottom: 88px;
    background: #f3f3f3;
}

/* calculator page ends */

/*Чтобы блок не выезжал за край экрана*/
@media (max-width: 1440px) {
    /* .c-box {
        flex-direction: column;
    }
    .c-right {
        margin-left: 0px;
    }
    .c-msg-submit {
        margin: 20px 0px 0px;
    }*/
}

@media (max-width: 990px) {
    /*Для симметрии с .os-block > h3*/
    /*.oa-block > h3 {
        font-size: 20px;
    }*/

    /*Меньше шрифт, чтобы блоки не "выталкивали" друг друга на следующий ряд*/
    /*.os-block > h3 {
        font-size: 20px;
    }*/

    /*Чтобы блок не выезжал за край экрана*/
    /*.price-calculated {
        margin: 0px;
    }*/
}

@media (max-width: 1140px) {
    body {
        line-height: normal;
        font-size: 16px;
    }
    h1,
    h2 {
        margin: 0;
    }
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .noUi-target {
        width: 100%;
        margin-top: 10px;
    }

    .our-info {
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        /* flex-direction: column; */
        row-gap: 10px;
        span {
            margin: 0;
            margin-right: 30px;
            font-size: 14px;
            padding-right: 0;
        }
    }
    .bot-header-wrapper {
        padding: 20px 0;
        flex-direction: column;
    }

    .nav-array {
        justify-content: flex-start;
        column-gap: 30px;
        margin: 0;
        padding: 0;
        .nav-item {
            margin-right: 0;
            a {
                padding: 0;
            }
        }
    }

    .logo {
        margin-top: 0;
        margin-bottom: 25px;
        img {
            width: 150px;
        }
    }
    .about {
        padding-top: 120px;
        padding-bottom: 120px;
        .about-title {
            font-size: 26px;
            margin-top: 10px;
            margin-bottom: 30px;
        }
        .about-text {
            font-size: 16px;
        }
        .buttons {
            flex-direction: column;
            align-items: center;
            text-align: center;
            margin-top: 70px;
            .left-btn {
                padding: 13px 50px 13px 50px;
                width: 150px;
                margin-right: 0;
            }
            .right-btn {
                padding: 13px 50px 13px 50px;
                width: 154px;
                margin-top: 15px;
                margin-left: 0;
                height: 26px;
            }
        }
    }
    .our-services {
        padding-top: 30px;
        padding-bottom: 30px;
        .os-title {
            font-size: 24px;
        }
        .os-text {
            margin-top: 10px;
        }
        .os-lines {
            margin-top: 10px;
        }
        .os-blocks {
            flex-direction: column;
            .os-block {
                margin-top: 20px;
                padding-bottom: 30px;
                &:nth-child(even) {
                    background-color: #fafafa;
                }
                h3 {
                    margin-bottom: 11px;
                    font-size: 20px;
                }
                p {
                    margin-bottom: 10px;
                    font-size: 16px;
                }
            }
        }
    }
    .our-advantages {
        padding-top: 30px;
        padding-bottom: 30px;
        .oa-title {
            font-size: 24px;
        }
        .oa-text {
            margin-top: 10px;
        }
        .oa-lines {
            margin-top: 10px;
        }
        .oa-blocks {
            flex-direction: column;
            .oa-block {
                margin-top: 20px;
                margin-right: 0;
                padding-bottom: 30px;
                h3 {
                    margin-bottom: 11px;
                    font-size: 20px;
                }
                p {
                    margin-bottom: 10px;
                    font-size: 16px;
                    line-height: normal;
                }
            }
        }
    }

    .calculator-ind {
        padding-top: 30px;
        padding-bottom: 30px;
        .calc-title {
            font-size: 24px;
        }
        .calc-text {
            margin-top: 10px;
        }
        .calc-lines {
            margin-top: 10px;
        }
        .calc-intro-ind {
            padding-bottom: 0;
        }
        .calculator {
            margin-top: 30px;
            .calculator-blocks {
                flex-direction: column;
                row-gap: 40px;
                .sno-choice {
                    margin-top: 0;
                    margin-left: 0;
                    .radio-container {
                        font-size: 16px;
                    }
                }
                .price-calculated {
                    margin-top: 0;
                    margin-left: 0;
                    font-size: 16px;
                    .calc-submit {
                        min-width: 250px;
                        padding-bottom: 12px;
                    }
                }
            }
        }
    }

    .top-footer {
        padding: 20px 0;
        text-align: center;
        & > .container {
            flex-direction: column;
        }
        .contact-left,
        .contact-right,
        .callback {
            width: 100%;
            margin: 0;
        }
        .callback-button {
            margin: 0;
        }
        .contact-left,
        .contact-right {
            span {
                margin-bottom: 15px;
            }
        }
    }
    .calcpage-bg {
        .calcpage-intro {
            padding-top: 20px;
            padding-bottom: 0;
            h1 {
                font-size: 28px;
            }
            p {
                font-size: 16px;
                margin-bottom: 0;
                margin-top: 10px;
            }
            .calc-lines {
                margin-top: 15px;
            }
        }
        .calcpage-calc {
            padding-top: 30px;
            padding-bottom: 30px;
            .calc-title {
                font-size: 24px;
            }
            .calc-text {
                margin-top: 10px;
            }

            .calc-intro-ind {
                padding-bottom: 0;
            }
            .calculator {
                .calculator-blocks {
                    flex-direction: column;
                    row-gap: 30px;
                    .sno-choice {
                        margin-top: 0;
                        margin-left: 0;
                        .radio-container {
                            font-size: 16px;
                        }
                    }
                    .price-calculated {
                        margin-top: 0;
                        margin-left: 0;
                        font-size: 16px;
                        .calc-submit {
                            min-width: 250px;
                            padding-bottom: 12px;
                        }
                    }
                }
            }
        }
    }
    .about-up {
        background-position: -350px;
        h1 {
            font-size: 28px;
            
        }
        .about-up-cb {
            min-width: 250px;
        }
    }
    .sp-box {
        margin-bottom: 0;
        .sp-leftbar {
            display: none;
        }
        .sp-content {
            padding-top: 30px;
            padding-bottom: 20px;
            .sp-section {
                padding: 0;
                .sp-subtitle {
                    margin-top: 0;
                    font-size: 24px;
                    line-height: normal;
                }
                .sp-indent {
                    font-size: 16px;
                    line-height: normal;
                }
            }
        }
    }

    .c-box {
        flex-direction: column;
        margin-bottom: 30px;
        .c-title {
            margin-top: 30px;
            margin-bottom: 10px;
        }
        .c-left {
            .c-info {
                margin-top: 20px;
                margin-bottom: 20px;
                .c-icon {
                    font-size: 18px;
                }
            }
            .c-info-str {
                line-height: normal;
                margin-bottom: 10px;
            }
        }
        iframe {
            width: 100%;
            height: 300px;
        }
        .c-right {
            margin-left: 0px;
            margin-bottom: 0;
            .c-writeus-form {
                margin-top: 20px;
                .c-input {
                    margin: 0;
                    margin-bottom: 14px;
                }
                .c-msg {
                    width: 100%;
                }
                .c-msg-submit {
                    margin: 0;
                    margin-top: 14px;
                    font-size: 18px;
                    min-width: 220px;
                    padding: 10px 50px 10px 50px;
                }
                .c-form-policy {
                    margin-bottom: 0;
                }
            }
        }
    }
    .success-message {
        width: 90%;
        max-width: 540px;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .form-container {
        width: 90%;
        max-width: 540px;
        transform: translate(-50%, -50%);
        margin: 0;
        .form-item > div > textarea {
            width: auto;
            max-width: 100%;
        }
        .form-item > label {
            margin-bottom: 5px;
        }
        .cb-text {
            margin-top: 25px;
        }
        .cb-submit {
            margin: 0;
            margin-top: 16px;
        }
        .close-popup {
            right: 7px;
            top: 7px;
        }
    }
}
