/**

 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 * File Name: style.css

 * Author: info@adtrust.ru

 * Author URI: http://adtrust.ru/

 * Version: 1.0.0

 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 */

* {
  margin: 0;
  padding: 0;
}

html,
body {
  position: relative;
  height: 100%;
  background: #fff;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  min-width: 960px;
  overflow-x: hidden;
}

img {
  border: none;
}

.clr {
  clear: both;
}

.container {
  width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.hide {
  display: none;
}

.hide-mobile {
  display: initial;
}

input {
  color: #7f7f7f;
  font-size: 16px;
}

p {
  margin: 0;
}

h2 {
  color: #212325;
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
}

h2 span {
  font-weight: 800;
  color: #cf0000;
}

.animatedBorder {
  position: relative;
}

.alpha {
  height: auto;
  width: auto;
}

/*=============================================

    header 

 =============================================*/

.header-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
}

.header {
  height: auto;
  min-height: 970px;
  background: linear-gradient(
 rgba(255, 255, 255, 0.82),
 rgba(255, 255, 255, 0.3)
),url("images/header-bg.jpg") center top no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.logo {
  /* height: 76px; */
  /* background-size: contain; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 180px;
}

.logo img {
  width: 60%;
  margin: auto;
}
.logo .text-logo {
  /* padding-left: 75px; */
  padding-top: 5px;
}

.logo .r1 {
  color: #2b57b5;
  font-size: 15px;
  font-weight: 800;
}

.logo .r1 span {
  color: #cf0000;
}

.logo .r2 {
  color: #212325;
  font-size: 15px;
  font-weight: 400;
}

.center-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.add-block::before {
  content: "";
  background-image: url(images/pin.svg);
  width: 26px;
  height: 26px;
  background-size: contain;
  display: inline-block;
  vertical-align: -15px;
  margin-right: 7px;
}

.add-block .r1 {
  color: #212325;
  font-size: 20px;
  font-weight: 700;
  line-height: 23px;
}

.add-block .r2 {
  color: #212325;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  display: inline-block;
  vertical-align: top;
}

/* .phone-block::before {
  content: "";
  background-image: url(images/phone.svg);
  width: 26px;
  height: 26px;
  background-size: contain;
  display: inline-block;
  vertical-align: -15px;
  margin-right: 10px;
} */

.phone-link {
    color: #212325;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    padding-left: 45px;
    background: url('images/phone.svg') left center no-repeat;
    background-size: 28px;
    text-decoration: none;
}


.whatsapp-link {
    color: var(--main-text-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 34px;
    padding-left: 45px;
    background: url('images/whatsapp.png') left center no-repeat;
    background-size: 34px;
    text-decoration: none;
    color: #212325;
}

.phone-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header_phone .submit {
  width: 250px;
  height: 50px;
  font-size: 13px;
  text-transform: none;
  margin-bottom: 0;
  line-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* left txt */
.header_text {
  padding: 50px 0 0 0px;
  height: auto;
  position: relative;
  z-index: 9;
}

.header_text .r1 {
  font-size: 40px;
  line-height: 55px;
  color: #222;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.header_text .r1 span {
  font-weight: 800;
  color: #cf0000;
}

.header .quiz {
  width: 100%;
  max-width: 800px;
  min-height: 520px;
  height: auto;
  background-color: white;
  box-shadow: 0 15px 35px 7px rgba(56, 56, 56, 0.20);
  margin: 40px auto 0;
  padding: 30px 60px;
  border: 4px #cf0000 solid;
  border-radius: 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}


/*=============================================

request

=============================================*/

.request_callback {
  height: auto;
}

.leftform {
  float: left;
  width: 39%;
  height: auto;
  margin-left: -8px;
}

.header .leftform {
  padding-bottom: 50px;
  padding-top: 10px;
}

.request_callback_style {
  /* margin: 260px 0 0 0; */
  height: 560px;
  width: 516px;
  position: absolute;
  margin-top: 135px;
  margin-left: 570px;
  padding-right: 10px;
}

.header .inputs {
  padding: 45px 0 0 0;
  margin: auto;
}

.zv {
  color: white;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.inputs {
  width: 420px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.input_text input {
  width: 100%;
  height: 59px;
  background: none;
  border: none;
  outline: none;
  border-radius: 8px;
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

.input_text input[type="tel"] {
  width: 100%;
  height: 59px;
  background: none;
  border: none;
  outline: none;
  border-radius: 8px;
  background: url(images/hr.png) right 57px top 13px no-repeat;
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

::-webkit-input-placeholder {
  color: #646464;
  font-size: 14px;
}

::-moz-placeholder {
  /* Firefox 19+ */
  color: #646464;
  font-size: 14px;
}

:-ms-input-placeholder {
  color: #646464;
  font-size: 14px;
}

:-moz-placeholder {
  /* Firefox 18- */
  color: #646464;
  font-size: 14px;
}

.input_text  {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin: 0 0px 10px 0px;
  padding-left: 24px;
  border-radius: 8px;
  border: 1px solid #bababa;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
}

.phone_input_text {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  margin: 0 0px 10px 0px;
  padding-left: 24px;
  background: #fff url("images/phone-input.png") right 20px top 21px no-repeat;
  border-radius: 8px;
  border: 1px solid #bababa;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
}

.button-offer {
  font-size: 21px;
  vertical-align: -1px;
  margin: 0px 0 0 15px;
}

/* for a awesome arrow*/
.submit {
  display: block;
  height: 59px;
  width: 100%;
  color: white;
  font-size: 15px;
  font-weight: 600;
  line-height: 59px;
  background-color: #cf0000;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.submit:hover {
  background-color: #e10000;
}

.submit .right-button {
  background: url("images/right-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 0 0 15px;
  display: inline-block;
  vertical-align: -2px;
}

.submit .left-button {
  background: url("images/left-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: -2px;
}

.submit .left-button-white {
  background: url("images/left-button.png") center top no-repeat;
  width: 28px;
  height: 14px;
  margin: 0 15px 0 0;
  display: inline-block;
  vertical-align: -2px;
}

/*=============================================

   portfolio

=============================================*/
.portfolio {
  padding: 80px 0 100px;
}

.portfolio h2 {
  padding: 0 0 80px 0;
}

.portfolio .block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px 0;
}

.portfolio .kat-block {
  width: 30%;
}

.portfolio .info-block img {
  border-radius: 10px;
  display: block;
  width: 100%;
  position: relative;
}

.portfolio .kat-block .photo-block .yellow-block {
  width: 132px;
  height: 237px;
  border: 2px solid #ecc368;
  position: absolute;
  margin-left: 387px;
  margin-top: 68px;
}

.portfolio .kat-block2 .photo-block .yellow-block {
  width: 132px;
  height: 237px;
  border: 2px solid #ecc368;
  position: absolute;
  margin-left: -30px;
  margin-top: 68px;
}

.portfolio .info-block h3 {
  color: #212325;
  font-size: 25px;
  font-weight: 700;
  line-height: 32px;
  padding: 20px 0;
}

.portfolio .info-block ul {
  padding: 30px 0;
}

.portfolio .info-block ul li {
  font-size: 16px;
  font-weight: 400;
  list-style: none;
  color: #646464;
  text-transform: none;
  background-image: url(images/li.png);
  background-position: left 9px;
  background-repeat: no-repeat;
  padding: 10px 0 10px 40px;
  letter-spacing: 0;
}

.portfolio .info-block .price {
  font-size: 18px;
  color: #212325;
  padding-bottom: 30px;
}

.portfolio .info-block .price span {
  font-weight: 700;
}

.portfolio .inputs {
  width: 100%;
}

.portfolio .submit {
  font-size: 14px;
}

.portfolio .info-block .zv {
  color: #646464;
}

.footer {
  padding: 40px 0 0;
}

.footer p {
  color: #000;
  font-size: 14px;
  text-align: center;
}

.header__form {
  padding: 40px;
    background: white;
    display: inline-block;
    margin: auto;
    display: flex;
    justify-content: center;
    max-width: 455px;
    margin-top: 67px;
}

.request_callback {
    display: flex;
    width: 100%;
}

.header .inputs {
    padding: 20px 0 21px 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* justify-content: space-between; */
  }

  fieldset {
    border: none;
    display: flex;
    flex-direction: row;
    gap: 13px;
    justify-content: space-between;
    font-size: 18px;
    padding: 0 0 10px 0;
  }