@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
	--dark: #333333;
	--primary: #5585DF;
	--secondary: #FF0000;
	--gray: #E4E4E4;    
}

::selection {
    background: var(--primary);
    color: #fff;
   }

body {
	font-size: 16px;
	font-weight: normal;
	color: var(--dark);
	background: #fff;
	font-family: 'Montserrat', sans-serif;
}
.alert p {
	margin: 0;
}
a {
	color: var(--primary);
	transition: all .5s;
	text-decoration: none;
}
a:hover {
	color: var(--secondary);
	text-decoration: none;
}
.dark {
	color: #fff;
}
.dark a {
	color: #fff;
}
.dark a:hover {
	color: var(--secondary);
}
h1,
.h1 {
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1;
  font-size: 4rem;
  padding-bottom: 30px;
}
@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 1.8rem;
  }
}
h2,
.h2 {
	margin-bottom: 1rem;
	margin-top: 1.2rem;
	font-size: 1.5rem;
	font-weight: bold;
}
.pagination {
	justify-content: center;	
}
.pagination .page-link {
	color: var(--primary);
	border-color: var(--gray);
}
.pagination .page-link:hover {
	background: var(--gray);
}
.pagination .page-item.active .page-link {
	background-color: var(--primary);
	border-color: var(--primary);	
}

button,
button:focus {
  outline: none;
}
.btn {
  padding: 0.75rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 0.15rem;
  transition: all 0.5s;
}
.btn-primary {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--secondary);
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}
label {
  margin-bottom: 0.1rem;
}
.form-control {
  height: calc(2em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  border-radius: 0.15rem;
  border-color: #dce2e8;
}
.modal-header {
  background: #fff;
  border-bottom: 1px solid var(--gray);
}
.modal-body {
  background: #fff;
}
.modal-title {
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1;
}
.modal-header .close {
  padding: 1.11rem;
}

#header {
	border-bottom: 1px solid var(--gray);
}
#header .navbar-brand {
	padding-top: 15px;
	padding-bottom: 15px;
	margin: 0;
}
#header p {
	margin-bottom: 0;
}
.menu_wrap {
	background: var(--gray);
}
.navbar-nav.mainmenu {
    flex-direction: row;
    justify-content: space-between;
}
.navbar-nav.mainmenu > li {
	padding: 0;
	position: relative;
	display: block;
}
.navbar-nav.mainmenu > li > a {
	color: var(--dark);
	font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 0;
    display: block;
}
.navbar-nav.mainmenu > li:hover > a,
.navbar-nav.mainmenu > li.active > a,
.navbar-nav.mainmenu > li.child-active > a  {
	color: var(--primary);
}
.navbar-nav.mainmenu > li > ul {
	display: block;
	visibility: hidden;
	opacity: 0;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s;
	transform: translateY(10px);
}
.navbar-nav.mainmenu > li:hover > ul,
.navbar-nav.mainmenu > li:focus > ul,
.navbar-nav.mainmenu > li:focus-within > ul {
	display: block;
	visibility: visible;
	opacity: 1;
	transform: translateY(0px);
	transition-delay: 0s, 0s, 0.1s;
}
.navbar-nav.mainmenu > li > ul > li {
	padding: 0;
}
.navbar-nav.mainmenu > li > ul > li > a {
	padding: 5px 15px;
	color: var(--dark);
	background: #fff;
	display: block;
	font-weight: normal;
	white-space: nowrap;
}
.navbar-nav.mainmenu > li > ul > li:hover > a,
.navbar-nav.mainmenu > li > ul > li.active > a {
	color: #fff;
	background: var(--primary);
}

button.toggle-menu {
	background: transparent;
	border: 0;
	color: var(--dark);
	height: 26px;
	padding: 0;
}
button.toggle-menu .svg-inline--fa {
	width: 20px;
	height: auto;	
	top: 2px;
	position: relative;
}
button.toggle-menu .fa-times {
	display: none;
	width: 20px;
	height: 20px;
}
body.active-menu button.toggle-menu {
	color: var(--secondary);
}
body.active-menu button.toggle-menu .fa-times {
	display: block;
}
body.active-menu button.toggle-menu .fa-bars {
	display: none;
}

.mobile-menu-panel {
	position: fixed;
	top: 0;
	left: -300px;
    width: 300px;
	height: 100%;
	background: #fff;
	z-index: 8;
	transition: all .5s;
}
body.active-menu .mobile-menu-panel {
	left: 0;	
}
.mobile-menu-panel .toggle-menu {
	position: absolute;
	top: 10px;
	right: 10px;
}
.mobile-menu-panel-wrapper {
	width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    padding-top: 100px;
    align-items: center;
    flex-direction: column;
}
.navbar-nav.mobilemenu li {
	text-align: center;
}
.navbar-nav.mobilemenu li a {
	display: block;
	padding: 5px 15px;
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--dark);
	text-decoration: none;
}
.navbar-nav.mobilemenu li a:hover {
	color: var(--primary);
	transform: scale(1.2);
}
.navbar-nav.mobilemenu li ul {
	display: none;
}
.mobile-menu-contacts {
	padding-top: 40px;
    text-align: center;
}
.body-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	z-index: 6;	
}
body.active-menu .body-overlay {
	display: block;
}
.lang-picker {
	display: block;
	position: absolute;
	top: 0;
	right: 11px;
}
.lang-picker a {
	color: var(--secondary);
	text-decoration: none;
	text-transform: uppercase;
	display: inline-block;
	padding: 10px 4px 0 4px;
}
.lang-picker a.selected {
	color: var(--dark);
}
.breadcrumb {
	padding-left: 0;
	padding-right: 0;
	background: transparent;
	font-size: 14px;
	padding-top: 40px;	
	margin-bottom: 40px;
}
.breadcrumb-item+.breadcrumb-item::before {
	content: "—";
}
.dark .breadcrumb-item.active,
.dark .breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray);
}

#footer {
	background: var(--primary);
	padding-top: 60px;
	padding-bottom: 40px;
}
.block-title {
	margin-bottom: 1rem;
	margin-top: 1.2rem;
	font-size: 1.5rem;	
}
.map {
	line-height: 0;
}

.slider-main-container {
	position: relative;
	overflow: hidden;
}
.main-page-slider .main-page-slider-slide {
    height: 500px;
    min-height: 500px;
    position: relative;
}
.main-page-slider .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
}
.main-page-slider .swiper-slide .main-page-slider-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgb(0 0 0 / 50%), rgb(0 0 0 / 15%));
	opacity: 1;
}
.main-page-slider .swiper-slide .main-page-slider-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}
.main-page-slider .swiper-slide .main-page-slider-name {
	font-size: 64px;
	font-weight: bold;
	max-width: 80%;
	line-height: 0.9;
	margin-bottom: 30px;
	transition: all 0s;
	transition-delay: 0s;
	transform: translateX(100px);
	opacity: 0;
}
.main-page-slider .swiper-slide.swiper-slide-active .main-page-slider-name {
	transform: translateX(0px);
	opacity: 1;
	transition: all .8s;
	transition-delay: .5s;	
}
.main-page-slider .swiper-pagination {
	bottom: 40px;
}
.main-page-slider .swiper-pagination-bullet {
	margin-right: 10px;
	background: #fff;
	opacity: 1;
}
.main-page-slider .swiper-pagination-bullet-active {
	background: var(--secondary);
}
.about-section {
    position: relative;
}
.about-section .animate-bg {
	background: var(--primary);
	position: absolute;
	height: calc(100% + 100px);
	left: 0;
	bottom: 0;
	width: 70vw;
	z-index: -1;
	transition: width 1s;
	transition-delay: .2s;	
}
.about-section .row > div:not(.dark) {
	align-items: center;
	display: flex;	
}

.a-items .a-item {
	position: relative;
	z-index: 1;
	transition: all .5s;
}
.a-items .a-item .a-title {
	color: var(--primary);
	font-weight: bold;
	margin-bottom: 10px;
	font-size: 1.1rem;
}
.a-items .a-item .a-text {
	padding-bottom: 50px;
}
.a-items .a-item .a-index {
	position: absolute;
	top: 22px;
	right: 0;
	z-index: -1;
	font-size: 144px;
	font-weight: bold;
	color: var(--primary);
	opacity: .1;
	line-height: 1;	
}
@media (min-width: 768px) {
	.a-items .a-item.adv-item-2 {
		margin-top: 50px;
	}
	.a-items .a-item.adv-item-3 {
		margin-top: 100px;
	}
	.a-items .a-item.adv-item-4 {
		margin-top: 150px;
	}
}

@media (max-width: 992px) {
	.about-section .animate-bg {
		width: 100%;
	}
}

.card.category-card {
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	border-top: 5px solid var(--secondary);	
}
.card.category-card .card-img-top {
	border-radius: 0;
}
.card.category-card .card-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    display: block;
    margin-bottom: 0;
    min-height: 88px;
}

.card.article-card {
	border: 0;
	background: transparent;
}
.card.article-card .card-body {
	padding-left: 0;
	padding-right: 0;
}
.card.article-card .card-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.footer-contacts {
	position: relative;
	margin-top: 60px;
}
.footer-contacts .animate-bg {
    background: var(--primary);
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    width: 45%;
    z-index: -1;
    transition: width .5s;
}
@media (max-width: 992px) {
	.footer-contacts .animate-bg {
		width: 100%;
	}
	.footer-contacts .row div + div {
		background: #fff;
		border-radius: 5px;
	}
}

.card.product-card {
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	border-top: 5px solid var(--secondary);		
}
.card.product-card .card-img-top {
	border-radius: 0;
}
.card.product-card .card-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    display: block;
    margin-bottom: 20px;
}

.card.project-card .card-img-overlay {
    border-radius: calc(.25rem - 1px);
    background: linear-gradient(180deg, rgb(0 0 0 / 47%), rgb(0 0 0 / 0%));
}
.card.project-card .card-title {
	font-size: 18px;
	font-weight: bold;
}
.clients-card {
	height: 190px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
table td {
	padding: 2px 3px;
    border: 1px solid #bfbfbf;
}
table.oc-alternate-rows tr:nth-child(2n) {
	background: var(--gray);
}

img.fr-fir {
	float: right;
	margin-left: 20px;
}
@media (max-width: 768px) {
	img.fr-fir {
		float: none;
		margin-left: 0;
		width: 100%;
	}
	table.w-50 {
		width: 100% !important
	}
	.main-page-slider .main-page-slider-slide {
		height: 200px;
		min-height: 200px;
	}
	.main-page-slider .swiper-pagination {
		bottom: 10px;
	}
}