body {
  margin: 0;
  font-family: "Open Sans", "Arial", sans-serif;
}

a {
  text-decoration: none;
  color: #1B68A4;
}

a:hover,
a:active {
  opacity: 0.7;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.button {
  background-color: #f26f31;
  border-radius: 3px;
  width: 100%;
  padding: 10px 20px 10px 20px;
  max-width: fit-content;
  vertical-align: top;
  font-size: 18px;
  text-align: center;
  color: #fff;
  -webkit-transition: .3s all;
  -o-transition: .3s all;
  transition: .3s all;
  letter-spacing: 0.5px;
  border: none;
}

.button:hover {
  background: #FFDD39;
  color: #fff;
}

.page-header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px;
  background-color: #ffffff;
}

.page-header__phonebox{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}



.page-header__phonebox a {
  min-width: 200px;
  color: #000000;
  font-size: 24px;
  text-decoration: none;
}

.page-footer__callback a {
  min-width: 200px;
  color: #3D404D;
  font-size: 24px;
  text-decoration: none;
}

.page-header__phonetext {
  font-size: 14px;
  color: #000000;
}

@media (min-width: 768px) {
  .page-header__container {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  
  .page-header__logo {
	  display: flex;
  }

  .page-header__phonebox{
    margin-left: auto;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    text-align: right;
  }
}

@media (min-width: 1150px) {
  .page-header__wrapper {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;
  }
}

.page-content {
  background-color: #FFFFFF;
}

.ico {
  width: 30%;
  height: auto;
}

.column__img {
  width: 100%;
  height: auto;
}

.underbtn-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cardpay {
  position: relative;
  padding-left: 65px;
}

.cardpay::before {
  content: '';
  position: absolute;
  width: 56px;
  height: 14px;
  background-image: url('img/icon_visa.png');
  background-size: contain;
  top: 0;
  left: 0;
}

.callme {
  position: relative;
  display: block;
  padding-left: 60px;
  line-height: 30px;
}

.callme::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 29px;
  background-image: url('img/ico_phone.png');
  background-size: contain;
  background-repeat: no-repeat;
  top: 0;
  left: 8px;
}

.offer {
}

.offer__container {
  padding: 20px 20px;
  color: #24282E;
}

.offer__header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.6rem;
}

.offer__column {
  margin: 0 0 40px;
}

h3 {
  text-align: center;
  margin-bottom: 40px;
  line-height: 2;
}

.first-block__name {
	display: table;
	background: #f1d454;
	color: #fff;
	margin-left: 0;
	padding: 5px 20px 12px;
	margin-top: 10px;
}

.column__title {
  text-align: left;
  line-height: 20px;
  background-color: #e8f4f8;
  margin-top: 0px;
  padding: 20px;
  line-height: 1.6;
}

.column__title__price {
  text-align: center;
  line-height: 20px;
  background-color: #e8f4f8;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 20px;
  line-height: 1.6;		
}

.btn__container {
  display: block;
  text-align: center;
  margin: 24px 0;
  float: center;
}

.callbackbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.callbackboxok {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blackout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.7;
}

.whitebox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  /* transition: translate(-50%, -50%); */
  background-color: #fff;
  padding: 0 0 40px;
}

.order-form fieldset {
  padding: 0;
  border: none;
}

.order-form__fieldset {
  position: relative;
  /* width: 260px; */
  width: 100%;
  padding: 0 3px;
  margin: 0 auto;
  border: none;
}

.order-form__personal-container {
  text-align: center;
}

.order-form__submit-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-form__submit-container__p {
    margin: 20px;
}

.order-form__input {
  width: 90%;
  padding: 16px 8px;
  margin-bottom: 27px;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  border: 1px solid #000000;
}

.order-form__note {
  text-align: center;
}

.order-form__note a {
  color: #000000;
}

.order-form__personal-container label {
  display: block;
  text-align: left;
  margin: 0 auto 10px;
  width: 90%;
}

.order-form__checkbox {
  width: 90%;
  margin: 0 auto 10px;
}

.order-form__checkbox:nth-last-child(1) {
  margin-bottom: 40px;
}

.order-form__checkbox label {
  font-size: 12px;
}

.closebtn {
  position: relative;
}

.closebtn::before {
  content: '';
  width: 30px;
  height: 4px;
  background-color: black;
  transform: rotate(45deg);
  position: absolute;
  right: 10px;
  top: 20px;
}

.closebtn::after {
  content: '';
  width: 30px;
  height: 4px;
  background-color: black;
  transform: rotate(-45deg);
  position: absolute;
  right: 10px;
  top: 20px;
}

.closebtnok {
  position: relative;
}

.closebtnok::before {
  content: '';
  width: 30px;
  height: 4px;
  background-color: black;
  transform: rotate(45deg);
  position: absolute;
  right: 10px;
  top: 20px;
}

.closebtnok::after {
  content: '';
  width: 30px;
  height: 4px;
  background-color: black;
  transform: rotate(-45deg);
  position: absolute;
  right: 10px;
  top: 20px;
}

@media (min-width: 400px) {
  .whitebox {
    width: 400px;
    display: block;
    left: 50%;
    transform: translate(-200px, 0px);
    height: auto;
	top: 15%;
  }
  
  .offer__header {
  text-align: center;
  margin-bottom: 40px;
}

.first-block__name {
	display: table;
}
}

@media (min-width: 768px) {
  .offer__columns {
    display: flex;
    flex-direction: row;
  }

  .offer__column {
    margin: 0 auto 0px;
  }

  h3 {
    margin-bottom: 0;
  }

  .first .offer__column,
  .third .offer__column,
  .fifth .offer__column {
    width: 50%;
  }

  .first .offer__header {
    margin-top: 0;
    text-align: left;
  }

  .first .btn__container {
    text-align: center;
  }

  .first .underbtn-block {
    /* align-items: flex-start; */
	text-align: center;
  }

  .second .offer__columns {
    flex-direction: row-reverse;
    gap: 40px;
  }

  .second .offer__column:nth-child(1) {
    width: 150px;
  }

  .second .offer__column:nth-last-child(1) {
    width: 100%;
  }

  .third .offer__columns,
  .fifth .offer__columns {
    gap: 40px;
  }

  .ico {
    width: 213px;
    height: auto;
	padding-bottom: 15px;
  }

  .first .column__img {
    max-width: 365px;
  }
}

@media (min-width: 1150px) {
  .offer__wrapper {
    width: 1150px;
    margin: 0 auto;
  }

  .third .column__img,
  .forth .column__img {
    max-width: 535px;
  }
}

.page-footer__container {
  padding: 0 20px;
  font-size: 14px;
  text-align: center;
}

.page-footer__policy {
  color: #000000;
}

.page-footer__callback,
.page-footer__logo {
  margin-bottom: 20px;
}

.page-footer__logo {
  min-width: 240px;
}

@media (min-width: 768px) {
  .page-footer__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    text-align: left;
  }

  .page-footer__callback {
    margin-left: 20px;
    margin-right: 20px;
  }

  .page-footer__logo {
    margin-top: 15px;
  }
}

@media (min-width: 1150px) {
  .page-footer__wrapper {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 500px) {
	.offer__header {
		font-size: 90%;
	}
}
