@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');
html, body, ul, h1 {
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #9d9d9d;
	font-weight: 400;
	background: #fff;
	line-height: 1.4;
}
h1,h3,.title {
    color: #000;
}
.h3, h3 {
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.23;
    margin-bottom: 20px;
}
a, a:hover, a:focus {
	transition: all .4s ease;
	text-decoration: none;
    outline: none;
}
.form-block {
    max-width: 480px;
}
button,input,textarea {
	outline: none;
}
input[type="text"], input[type="email"], input[type="tel"] {
    border: 1px solid #ebedf5;
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
    transition: all .5s ease;
    border-radius: 5px;
    color: #000;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
    border: 1px solid #4758a5;
}
header {
	background: #f7f7f7;
    overflow: hidden;
}
header h1 {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 60px;
    margin: 0 40px 25px 0;
}
header .sub-title {
    max-width: 470px;
}
p {font-size: 16px}
header p,#brigada p,#integration p,#contacts p {
    font-size: 22px;
    font-weight: 600;
}
#top-menu .row {
    padding-top: 30px;
    transition: all .7s ease;
}
.menu-opened .row {
    padding: 10px 0 !important;
}
header > .container {
    padding-top: 160px;
    padding-bottom: 160px;
}
header > .menu-opened + .container {
    padding-top: 194px;
}
#navigation > ul > li,footer ul > li {
    display: inline-block;
    list-style: none;
    margin: 0 12px;
}
#navigation > ul > li > a,footer ul > li > a {
    font-size: 18px;
    color: #9d9d9d;
    line-height: 34px;
}
#navigation > ul > li > a:hover {
    color: #4464dd;
}
#navigation > .navbar-toggler {
    border: 1px solid transparent;
    background: transparent;
    width: 45px;
    cursor: pointer;
    position: absolute;
    top: -30px;
    display: none;
    right: 15px;
    z-index: 999;
    padding: 2px 5px;
}
#navigation > .collapsed {
    top: -37px;
}
.navbar-toggler > .icon-bar {
    height: 3px;
    display: block;
    background: #657ee2;
    margin: 5px 0;
    border-radius: 2px;
    transition: all .5s ease;
}
.navbar-toggler > .icon-bar:nth-child(2) {
    transition: none;
}
header .phone {
    font-size: 24px;
    font-weight: bold;
    line-height: 28px;
    color: #000;
}
header .phone::before {
    width: 110px;
    height: 110px;
    background: url(images/phone.png) no-repeat;
    display: block;
    content: "";
    transform: scale(.25);
    position: absolute;
    right: 190px;
    top: -39px;
}
#navigation > .collapsed > .icon-bar:first-child {
    transform: rotate(45deg);
    position: relative;
    top: 15px;
}
#navigation > .collapsed > .icon-bar:nth-child(2) {
    visibility: hidden;
}
#navigation > .collapsed > .icon-bar:last-child {
    transform: rotate(-45deg);
}
.camera1 > img {
    width: 400px;
    height: auto;
    position: absolute;
    left: 5px;
    top: -37px;
    border-radius: 50%;
}
.order-button,input[type="submit"] {
    background: #4758a5;
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    border-radius: 7px;
    line-height: 1;
    padding: 25px 0;
    cursor: pointer;
    width: 315px;
    display: block;
    text-align: center;
    margin-top: 40px;
    background-image: linear-gradient(190deg,#416eda 0%,#3748d4 100%);
}
input[type="submit"] {
    margin: 15px 0 10px;
    width: 100%;
    border: 1px solid transparent;
}
.rules {
    text-align: center;
    font-size: 14px;
}
.rules > span > a {
    font-weight: 600;
    color: #9d9d9d;
    text-decoration: underline;
}
.rules > span > a:hover {text-decoration: none}
.rules input {
    position: relative;
    left: -12px;
    top: 1px;
}
.order-button:hover,.order-button:active,.order-button:focus,input[type="submit"]:hover {
    color: #fff;
    background-image: linear-gradient(190deg,#3748d4 0%,#416eda 100%);
}
#offers {
    padding: 100px 0 120px;
}
.title {
    font-size: 20px;
    font-weight: 700;
}
.icon-box {
    width: 92px;
    height: 92px;
    border-radius: 7px;
    position: relative;
    margin: 50px auto 30px;
    transition: all .5s ease;
}
#offers .col-md-4:hover > .icon-box{
    background: #3f65d9;
}
.icon-box > svg {
    position: absolute;
    left: 50%;
    margin-left: -30px;
    top: 50%;
    margin-top: -30px;
}
.icon-box path {
    stroke: #3949d6;
    fill: #3949d6;
}
#offers .col-md-4:hover > .icon-box path {
    stroke: #fff;
    fill: #fff;
}
#brigada {
    padding: 150px 0 140px;
    background: #f5f4f4;
}
.img-holder > .col-md-8 {
    float: none;
    margin: auto;
}
.img-holder > .col-md-8 > div {
    height: 25px;
    width: 90%;
    border-radius: 25%;
    background: url(images/shadow.png) no-repeat;
    background-size: contain;
    transform: scale(1.7);
    position: relative;
    top: 40px;
    left: 10%;
}
#integration .col-md-7 {
    padding-top: 150px;
    padding-bottom: 160px;
    float: right;
}
.skew-mask {
    padding: 0;
    height: calc(590px + 0.05*2*100vw*5/12);
    margin-top: calc(-0.05*100vw*5/12);
    background: url(images/man.jpg) no-repeat;
    background-size: cover;
    overflow: hidden;
}
.skew-mask > div,.skew-mask > div > div {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(0.05*100vw*5/12);
    bottom: calc(0.05*100vw*5/12);
    z-index: 1;
    background: rgba(90,110,200,.7);
}
.skew-mask > div > div:first-child {
    top: calc(-0.05*100vw*5/12);
    height: calc(0.05*100vw*5/12);
    bottom: auto;
    border-right: calc(100vw*5/24.2) solid #f5f4f4;
    border-top: calc(0.05*100vw*5/24) solid #f5f4f4;
    border-bottom: calc(0.05*100vw*5/24) solid transparent;
    border-left: calc(100vw*5/24.2) solid transparent;
}
.skew-mask > div > div:last-child {
    top: auto;
    height: calc(0.05*100vw*5/12);
    bottom: calc(-0.05*100vw*5/12);
    border-right: calc(100vw*5/24.2) solid #f5f8fa;
    border-top: calc(0.05*100vw*5/24) solid transparent;
    border-bottom: calc(0.05*100vw*5/24) solid #f5f8fa;
    border-left: calc(100vw*5/24.2) solid transparent;
}
#integration .col-md-7 .col-md-2 {
    margin-left: -15px;
}
#integration .col-md-7 .col-md-10 {
    max-width: 580px;
    margin: auto;
}
#projects {
    background: #f5f8fa;
    margin: calc(-0.05*100vw*5/12) 0;
    padding: 80px 0 100px;
}
#projects p {
    font-size: 20px;
    font-weight: 600;
    padding: 10px 0 20px;
    color: #5f5f5f;
}
#categories {
    margin-left: -10px;
}
#categories > li {
    list-style: none;
    display: inline-block;
    margin: 0 0 25px 10px;
}
#categories > li > a {
    color: #858585;
    background: #dee0eb;
    padding: 8px 12px;
    border-radius: 8px;
}
#categories > li:first-child > a {
    padding: 8px 28px;
}
#categories > li:nth-child(9) > a {
    padding: 8px 13px;
}
#categories > li:nth-child(n+10) > a {
    padding: 8px 14px;
}
#categories > .active > a, #categories > li:hover > a {
    color: #000;
    background: #cfd0db;
}
#categories > li:nth-child(n+6) {
    display: none;
}
#projects #more-cats,#projects #hide-cats {
    font-size: 18px;
    border-bottom: 2px dashed #5f5f5f;
    padding: 0 0 2px;
    display: inline-block;
    cursor: pointer;
}
#more-cats > span,#hide-cats > span {
    font-size: 28px;
    margin-left: 15px;
    transform: rotate(90deg) translateX(7px);
    display: inline-block;
}
#projects #hide-cats {display:none}
.cat-links {
    display: none;
}
.cat-links:last-child {
    display: block;
}
.cat-links > div {
    overflow: hidden;
    height: 230px;
    margin-top: 30px;
}
.cat-links > div:nth-child(n+3) {
    height: 250px;
}
.cat-links > div > a > img {
    height: auto;
    width: 100%;
}
.cat-links > .col-md-8 > a > img {
    width: 100%;
    height: auto;
}
.cat-links > div > a > div {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    right: 15px;
    padding: 30px 35px;
    z-index: 1;
    background: transparent;
    visibility: hidden;
}
.cat-links a:hover > div {
    background: rgba(90,110,220,.8);
    visibility: visible;
    transition: background .7s ease;
}
.cat-links > div > a > div > div {
    border: 1px solid #fff;
    width: 100%;
    height: 100%;
}
.cat-links > div > a > div > div > div {
    padding: 15px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
#projects .cat-links p {
    text-align: center;
    color: #fff;
    font-weight: 700;
    padding: 0;
}
#projects .cat-links p:last-child {
    font-size: 16px;
    font-weight: 400;
}
#clients {
    padding: 110px 0 70px;
}
#clients .row > div {
    height: 180px;
}
#clients img {
    width: 255px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
header .menu-opened {
    position: fixed;
    z-index: 999;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #bbb;
}
#conacti .row {
    background: #f4f6f7;
}
#conacti .big-cam-bg {
    height: 740px;
    background: #e0e8ed url(images/catalyst.png) no-repeat top right;
}
#contacts {
    padding: 70px 0 0 5%;
}
#contacts > h3 {display: block;max-width: 700px}
#contacts > p {
    margin-bottom: 30px;
    display: block;
    max-width: 500px;
}
footer {
    background: #3e4854;
    color: #a4a4a4;
    padding: 65px 0;
}
footer ul > li > a,footer a {
    color: #a4a4a4;
    font-size: 17px;
    line-height: 20px;
}
footer p {
    color: #a4a4a4;
    font-size: 16px;
    line-height: 19px;
    white-space: nowrap;
    margin-top: 20px;
}
.politic {
    font-size: 14px;
    text-decoration: underline;
    position: relative;
    top: 20px;
}
.politic:hover {text-decoration: none}
.footer-phone {
    color: #bfc0c2;
    font-size: 22px;
    white-space: nowrap;
    line-height: 25px;
    margin-left: -55px;
}
footer a:hover,footer a:focus,footer a:active {
    color: #fff;
}
.footer-logo {
    margin-top: -2px;
}
.mobile-cam-bg {
    display: none;
    text-align: center;
}
@media(min-width:1200px) {
    .footer-phone {margin-left: -30px}
    #navigation > ul > li {margin: 0 25px}
    .camera1 > img {width: 400px;transform: scale(1.34)}
    #offers p {padding: 0 25px}
    #offers .col-md-4:last-child p {padding: 0 40px}
    #brigada p {padding-right: 30px}
    .img-holder > .col-md-8 {margin-top: -45px}
    #projects p,#categories {text-align: left}
    #categories > li:nth-child(n+6) {display: inline-block}
    #projects #more-cats {display:none}
}
@media(max-width:992px) {
    .order-button {
        padding: 15px 0;
    }
    footer ul > li {
        display: block;
        margin: 10px 0;
    }
    footer ul {
        padding: 5px 0 10px;
    }
    .politic {top: 0}
    .footer-phone {
        position: relative;
        top: 30px;
        margin: 0;
    }
    footer {
        padding-bottom: 95px;
    }
    .mobile-cam-bg > img {
        position: relative;
        top: -60px;
    }
    .mobile-cam-bg {
        display: block;
        position: relative;
        bottom: 0;
        top: 110px;
        background: #f4f6f7;
    }
    #conacti .big-cam-bg {
        height: 175px;
        background-image: none;
        padding: 0;
    }
    .form-block {max-width: 400px;margin: auto}
    #contacts {padding: 0 0 70px}
    #contacts > h3 {margin: 20px auto;max-width: 400px}
    #contacts > p {margin: 0 auto 30px;max-width: 400px;text-align:center}
    #clients {padding: 80px 0 40px}
    #clients .row > div {height: 140px}
    .cat-links > div:nth-child(n+2) {
        height: 250px;
    }
    #projects {padding: 60px 0 80px}
    #integration h3, #integration p {margin: 20px auto;display: block;max-width: 400px}
    header > .container,#brigada > .container {max-width: 400px}
    #offers > .container {max-width: 340px}
    header > .container {
        padding-top: 45px;
        padding-bottom: 0;
    }
    header > .menu-opened + .container {
        padding-top: 79px;
    }
.skew-mask {
    height: calc(590px + 0.05*2*100vw);
    margin-top: calc(-0.05*100vw);
}
.skew-mask > div,.skew-mask > div > div {
    top: calc(0.05*100vw);
    bottom: calc(0.05*100vw);
}
.skew-mask > div > div:first-child {
    top: calc(-0.05*100vw);
    height: calc(0.05*100vw);
    border-right: calc(100vw/2) solid #fff;
    border-top: calc(0.05*100vw/2) solid #fff;
    border-bottom: calc(0.05*100vw/2) solid transparent;
    border-left: calc(100vw/2) solid transparent;
}
.skew-mask > div > div:last-child {
    height: calc(0.05*100vw);
    bottom: calc(-0.05*100vw);
    border-right: calc(100vw/2) solid #f5f8fa;
    border-top: calc(0.05*100vw/2) solid transparent;
    border-bottom: calc(0.05*100vw/2) solid #f5f8fa;
    border-left: calc(100vw/2) solid transparent;
}
#projects { margin: calc(-0.05*100vw) 0 }

    header h1,header p,#brigada p,#integration p {
        text-align: center;
    }
    header h1 {margin-right:0}
	#navigation > .navbar-toggler {
		display: block;
	}
	.menu-mob > #navigation > ul, .menu-mob + div {
    	display: none;
	}
	.menu-mob + div {
        z-index: 99999;
    	position: fixed;
    	top: 0;
    	left: 15px;
    	padding: 20px 30px 20px 55px;
    	width: 70%;
    	background: #2e3136;
    	border-left: 1px solid #555;
    	border-right: 1px solid #555;
        text-align: left;
	}
	#navigation > ul {
        z-index: 99999;
		border: 1px solid #555;
		border-top: none;
    	position: fixed;
    	top: 55px;
    	left: 15px;
    	background: #2e3136;
    	padding: 10px 15px;
    	width: 70%;
	}
	#navigation > ul > li {
    	display: block;
    	text-align: left;
    	margin: 0;
        padding: 5px 0;
        border-bottom: 1px solid #aaa;
	}
    #navigation > ul > li:last-child{
        border-bottom: none;
    }
	#navigation > ul > li > a,.menu-mob + div > a {
    	color: #c5c5c5;
	}
	#navigation > ul > li > a:hover,.menu-mob + div > a:hover {
    	color: #fff;
	}
	header .phone::before {
		filter: invert(100%) brightness(140%);
		-webkit-filter: invert(100%) brightness(140%);
        right: auto;
        top: -20px;
        left: -25px;
	}
	header .phone {font-size: 18px}
    header h1 {font-size: 28px;line-height: 40px}
    header p,#brigada p,#integration p,#contacts p {font-size: 18px}
    header .sub-title {max-width: 380px;margin: auto}
    .camera1 {text-align: center}
    .camera1 > img {
        position: relative;
        left: 0;
        width: 325px;
        margin: auto;
        top: -25px;
    }
    .order-button {margin: 40px auto;width: 230px}
    .h3, h3 {text-align: center;font-size: 26px}
    #brigada {padding: 40px 0 50px}
    .img-holder > .col-md-8 {margin: 70px auto 0;max-width: 200px}
    .img-holder > .col-md-8 > div {top:20px}
    #integration .col-md-7 {float: none;padding: 70px 0}
    #integration .col-md-7 > .row {margin: 0}
    #offers {padding: 70px 0 75px}
}
@media(max-width:768px) {
    .cat-links > div > a > div {
        padding: 15px 20px;
    }
}
@media(max-width:480px) {
    .form-block {max-width: 80%}
    #contacts > h3 {max-width: 98%}
    #contacts > p {max-width: 96%}
    .cat-links > div:nth-child(n+1) {
        height: 140px;
    }
    #categories > li:nth-child(n+5) {
        display: none;
    }
    #categories {margin-left: -5px}
    #categories > li {
        margin-left: 5px;
    }
    #categories > li > a {
        font-size: 12px;
        padding: 8px;
    }
    .skew-mask {
        height: calc(285px + 0.05*2*100vw);
    }
    .icon-box {margin: 40px auto 25px}
    header h1 {margin: 0 auto 25px;display: block;max-width: 350px}
    #brigada p {padding: 0 20px}
}
@media(max-width:320px) {
    #contacts > p,#contacts > h3 {max-width: 90%}
    .cat-links > div:nth-child(n+1) {
        height: 95px;
    }
    .h3, h3 {font-size: 22px}
    header h1 {font-size: 24px;line-height: 36px}
    header h1 {margin: 0 auto 25px;display: block;max-width: 320px}
    header p, p ,#brigada p,#integration p,#contacts p {font-size: 15px}
    header .sub-title {margin: 0 -5px}
    .menu-mob + div,#navigation > ul {width: 78%}
    .camera1 > img {width: 400px;margin: auto;top: -25px}
    .title {font-size: 18px}
    #categories > li:first-child > a {
        padding: 8px 12px;
    }
    #categories {margin-left: 0}
    #categories > li {
        margin-left: 0;
    }
}
