/* Updated styles.css with new color scheme */
body {
    font-family: 'Lora',Arial,sans-serif;
    font-size: 16px;
	color: #000;
	line-height: 1.5;
	font-weight: 300;
}

h1 {font-size: 35px; color: #fff;}
h2 {color: #d11; text-align: center; margin-bottom: 50px;}
img {max-width: 100%;}
.text-justify {text-align: justify;}
.red-text {color: #d11;}

/*header*/

.top-header {border-bottom: 1px solid #cfd6d9; padding: 10px 0;}
.nav {display: flex; align-items: center; justify-content: space-between; padding-left: 50px;}
.header-area a {text-decoration: none; color: #000; font-weight: 600; position: relative; transition: all 0.3s ease-out;}

.header-area li a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  max-width: 100%;
  background: #d11;
  transition: .33s all ease-out;
}

.header-area li a:hover {color: #d11;}
.header-area li a:hover:after {opacity: 1; visibility: visible; width: 100%;}






.main-nav {padding: 20px 0;}
.logo {padding-right: 0;}

.name-company {color: #d11; font-size: 17px; font-weight: 600;}
.top-phone {text-align: right;}
.top-phone a {font-weight: 600; font-size: 18px; position: relative;}

a.phone:after, a.phone:before {
  content: '';
  position: absolute;
  top: 3px;
  left: -30px;
  width: 18px;
  height: 18px;
  background: center/contain no-repeat;
  background-image: none;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}


.top-header a.phone:hover {color: #d11;}
.top-header a.phone:before {background-image: url('../img/icons/phone_red.svg');}
.top-header a.phone:hover:before {opacity: 0;}
.top-header a.phone:after {background-image: url('../img/icons/phone.svg'); opacity: 0;}
.top-header a.phone:hover:after {opacity: 1;}



/*main banner*/
.main-banner {background-image: url('/img/main.webp'); background-repeat: no-repeat; background-size: cover; min-height: 600px; position: relative;}
.main-banner:before {
  content: '';
  position: absolute;
  background-image: -webkit-gradient(linear, right top, left top, from(rgba(255, 0, 0, 0)), to(#0f3041));
  background-image: linear-gradient(to left, rgba(255, 0, 0, 0), #021018);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0; z-index: 5;
}
.main-banner > .container > .row {height: 600px; align-items: center;}
.main-banner-text {position: relative; z-index: 10;}
.main-banner-text p {font-size: 20px; margin-bottom: 45px; color: #fff;}
.button-red {background-color: #c8242f;
  color: #ffffff; text-decoration: none;
  padding: 13px 25px;
  display: inline-block;
  border-radius: 5px;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;}
  
.button-red:hover {color: #fff; background: -webkit-gradient(linear,left top,left bottom,from(red),to(red)),#db1010;
  background: -o-linear-gradient(top,red 0,red 100%),#db1010;
  background: linear-gradient(180deg,red 0,red 100%),#db1010;
  border-color: #f11515;}  
  
  


/*partners section*/
.partners-section {padding: 50px 0;}
.part-row {align-items: center; margin-bottom: 50px;}
.partners-section .partners-img img {border-radius: 20px; margin-bottom: 25px; box-shadow: 0px 1px 9px #2d404b;}
.partners-section .about p {font-size: 20px;}
.partners-section .about p span {font-weight: 600; font-size: 22px; color: #d11;}
.partners-section .about p img {padding-right: 20px;}
.thumbnail-caption {background-color: #0f3041; box-shadow: 0px 1px 9px #2d404b;
  padding: 17px 8px 25px;
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center; border-radius: 20px; width: calc(100% - 56px); margin: -70px auto 0;}
  
.thumbnail-header {font-size: 18px; font-weight: 600;}
.thumbnail-text {font-size: 18px; font-style: italic;}
.thumbnail-text a {color: #fff; text-decoration: none;}
.thumbnail-text a:hover {color: #d11;}

/*services section*/
.services-section {padding: 50px 0; background-color: #F5F5F5;}

.competence {display: -ms-flexbox; display: flex;}
.competence-blocks {width: 100%; background-color: #fff; text-align: center; box-shadow: 0 0 13px #cecece; border-radius: 10px; padding: 20px; margin-bottom: 20px;}
.section-title {color: #e10d0d; text-align: center;}
.split-section {padding: 60px 0;}
.section-subtitle {text-align: center; font-size: 18px; font-weight: 600; max-width: 700px; margin: 0 auto;}
.text-box-header {font-weight: 600; font-size: 18px; padding: 10px 0;}

/*representative section*/
.representative-section {padding: 50px 0;}
.text-box {font-size: 20px;}

/*arbitrazh section*/
.arbitrazh-section {padding: 50px 0; background-color: #F5F5F5;}

/*consult section*/
.consult-section {padding: 50px 0; /*background-image: url('/img/cons.webp');*/ background-repeat: no-repeat; background-size: cover; background-position: 50%; min-height: 600px; display: flex; align-items: center;}
.consult-section .text-box {font-size: 24px; font-weight: 600; text-align: center;}
.consult-section .text-box span a {color: #d11; text-decoration: none;}
.consult-section .text-box span a:hover {text-decoration: underline;}

/*footer*/

.footer {background-color: #0f3041; color: #fff; padding: 25px 0; line-height: 2;}
.footer a {color: #fff; text-decoration: none;}
.footer a:hover {color: #d11;}
.f-name-company {color: #fff; line-height: 1.5;}
.footer ul {list-style: none; padding-left: 0;}
.footer a.phone {font-size: 25px; font-weight: 600;}
.footer .mail {font-size: 20px;}

/*mobile nav*/

.header-area .main-nav .menu-trigger {
	cursor: pointer;
	position: absolute;
	top: 75px;
	width: 32px;
	height: 40px;
	text-indent: -9999em;
	z-index: 99;
	right: 25px;
	display: none;
  }

.header-area .main-nav .menu-trigger span,
  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	background-color: #d11;
	display: block;
	position: absolute;
	width: 30px;
	height: 2px;
	left: 0;
  }

  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	background-color: #d11;
	display: block;
	position: absolute;
	width: 30px;
	height: 2px;
	left: 0;
	width: 75%;
  }

  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
	content: "";
  }

  .header-area .main-nav .menu-trigger span {
	top: 16px;
  }

  .header-area .main-nav .menu-trigger span:before {
	-moz-transform-origin: 33% 100%;
	-ms-transform-origin: 33% 100%;
	-webkit-transform-origin: 33% 100%;
	transform-origin: 33% 100%;
	top: -10px;
	z-index: 10;
  }

  .header-area .main-nav .menu-trigger span:after {
	-moz-transform-origin: 33% 0;
	-ms-transform-origin: 33% 0;
	-webkit-transform-origin: 33% 0;
	transform-origin: 33% 0;
	top: 10px;
  }
  
  .header-area .main-nav .menu-trigger.active span, .header-area .main-nav .menu-trigger.active span:before, .header-area .main-nav .menu-trigger.active span:after {
	background-color: transparent;
	width: 100%;
  }

  .header-area .main-nav .menu-trigger.active span:before {
	-moz-transform: translateY(6px) translateX(1px) rotate(45deg);
	-ms-transform: translateY(6px) translateX(1px) rotate(45deg);
	-webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
	transform: translateY(6px) translateX(1px) rotate(45deg);
	background-color: #d11;
  }

  .header-area .main-nav .menu-trigger.active span:after {
	-moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
	-ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
	-webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
	transform: translateY(-6px) translateX(1px) rotate(-45deg);
	background-color: #d11;
  }
  
  
@media (max-width: 1600px) {
	.main-banner {background-position: 70% top;}
}

@media (min-width: 1200px) and (max-width: 1400px) {
	.logo {width: 18.5%;}
	.nav {width: 81.5%;}
	.name-company {font-size: 16px;}
}

@media (max-width: 1199px) {
	.main-banner-text h1 {font-size: 30px;}
	.part-row {align-items: normal; margin-bottom: 0;}
	.partners-section .about {margin-top: 50px;}
	.services-section .competence {display: flex; display: -ms-flexbox;}
	.competence-blocks {display: flex; display: -ms-flexbox; flex-direction: column;}
	.competence-blocks {padding: 10px;}
}


@media (min-width: 992px) and (max-width: 1199px) {
	.name-company {font-size: 12px;}
	.nav a {font-size: 13px;}
}

@media (max-width: 991px) {
	.main-banner {background-position: 57% top;}
	.header-area .main-nav .nav {width: 100%; display: none; text-align: center; padding-left: 13px;}
	.main-nav ul.nav li:last-child {border-bottom: none;}

	  nav.main-nav ul.nav li > a {
		font-size: 15px;
	  }

	  .header-area .menu-trigger {
		display: block!important;
	  }
	  

	  .main-nav ul.nav li {
		padding: 13px 9px;
		border-bottom: solid 1px #333;
	  }
	
	
	a.phone::after, a.phone::before {left: 0px;}
	.top-phone {text-align: left;}
	.top-phone a {padding-left: 30px;}
	.text-box-header {font-size: 15px; line-height: 1.2;}
	.thumbnail-header, .thumbnail-text {font-size: 16px;}
}

@media (max-width: 768px) {
	.main-banner {background-position: 35% top;}
	.main-banner-text h1 {font-size: 25px;}
}

@media (max-width: 575px) {
	.header-area .container .row .top-phone:last-child {text-align: right;}
	.name-company {text-align: center;}
	.main-banner-text {text-align: center;}
	.partners-img:nth-child(1) {margin-bottom: 30px;}
	.f-block-1 {margin-bottom: 25px;}
}

@media (max-width: 480px) {
	.top-phone a {padding-left: 25px; font-size: 15px;}
	a.phone::after, a.phone::before {width: 15px; height: 15px;}
	.partners-section .about p img {padding-right: 10px; max-width: 40px;}
	.consult-section .text-box {font-size: 20px;}
}
