/* желтый #dfa630;
   красный #ad0000
   серый #D1D1D1;
*/



h2.content-title {
  margin: 74px 0 54px;
  text-align: center;
  /* font-size: 24px; */
}
.content-title__matched {
  color: #dfa630;
}
.content-section {
  display: flex;
  flex-wrap: wrap;
  -ms-align-items: stretch;
  align-items: stretch;
  justify-content: space-between;
}
.content-section__item {
  width: 30%;
  text-align: left;
}
@media all and (max-width: 600px) {
  .content-section__item {
    width: 50%;
  }
}
.content-button {
  display: inline-block;
  position: relative;
  height: 38px;
  padding: 4px 36px;
  border-radius: 20px;
  background-color: #dfa630;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  color: #000;
  outline: none;
  border: none;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s ease background-color;
  line-height: 2;
}
.content-button:not(.content-button--light)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0px;
  left: -2px;
  bottom: 0px;
  right: -2px;
  border-radius: 20px;
  box-shadow: inset 0px 2px 2px rgba(255,255,255,0.27), inset 0px -2px 2px rgba(0,0,0,0.27);
  transition: 0.2s ease box-shadow;
}
.content-button:not(.content-button--light):hover::after,
.content-button:not(.content-button--light):active::after,
.content-button:not(.content-button--light):focus::after {
  box-shadow: inset 0px -2px 2px rgba(255,255,255,0.5), inset 0px 2px 2px rgba(0,0,0,0.5)
}
.content-button:hover,
.content-button:active,
.content-button:focus {
  outline: none;
  border: none;
  background-color: #f2de79;
  text-decoration: none;
  color: #000;
}
.content-button--light {
  display: block;
  height: auto;
  min-height: 38px;
  margin: 50px auto 20px;
  box-shadow: none;
  background: transparent;
  border: 2px solid #dfa630;
  line-height: 1.4;
}

.bordered-block.bordered-block {
  box-shadow: 0px 0px 5px rgba(223, 166, 48,0.5), 0px 0px 5px rgba(223, 166, 48,0.5);
  border-color: rgb(223, 166, 48);
}


.content-section--tarif,
.content-section--countries {
  justify-content: flex-start;
  position: relative;
  padding: 36px 0;
}
.content-section--countries {
  padding: 0;
}
.content-section--tarif::before,
.content-section--tarif::after {
  content: "";
  height: 1px;
  width: 100vw;
  position: absolute;
  left: calc(50% - 50vw);
  background-color: #D1D1D1;
}
.content-section--tarif::before {
  top: 0
}
.content-section--tarif::after {
  bottom: 0
}



.country-block {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-flow: column;
  -ms-align-items: center;
  align-items: center;
  margin: 15px 15px 50px;
  width: calc(33.3333% - 30px);
}
h3.country-block__title {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-start;
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 20px;
}
.country-block__flag {
  margin-right: 20px;
}
.country-block__img {
  display: block;
  margin: 0 0 20px;
}
.country-block__img-link,
.country-block__link {
  display: block;
  margin-bottom: 20px;
}
.country-block__img-link{
  text-decoration: none;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
}
.country-block__img-link:hover,
.country-block__img-link:active,
.country-block__img-link:focus {
  text-decoration: none;
}
.country-block__link {
  text-transform: uppercase;
  font-size: 16px;
  color: #ad0000
}



.tarif-block {
  margin: 15px;
  width: calc(33.3333% - 30px);
}
.tarif-block__inner {
  max-width: 280px;
  height: 100%;
  margin: 0 auto;
  padding: 22px 10px;
  border: 1px solid #D1D1D1;
  border-radius: 0px 60px 0px 60px;
  text-align: center;
  font-size: 16px;
}
.tarif-block ul {
  font-size: 16px;
}
.tarif-block ul {
  text-align: left
}
.tarif-block .content-button {
  margin: 22px 0;
}
h3.tarif-block__title {
  margin-bottom: 22px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 18px;
}
.tarif-block__info {
  height: 100px;
  text-transform: uppercase;
  color: #ad0000;
  font-size: 16px;
}
.tarif-block__price {
  display: block;
  font-size: 30px;
  font-weight: 700;
  margin: 36px 0 20px;
}
.tarif-block__additional {
  height: 60px;
}


.content-section--documents {

}
.documents-block {
  width: 20%;
  text-align: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;
}
.documents-block__img {
  display: block;
  height: 145px;
  margin: 0 auto 36px;
}
h3.documents-block__title {
  margin-bottom: 36px;
  font-size: 18px;
}
.documents-block__info {
  display: block;
  padding: 6px;
  font-size: 14px;
  font-style: italic;
  border: 2px solid #dfa630;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}
.documents-block__info-matched {
  color: rgba(0,0,238)
}



.additional-documents-block__title {
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 18px;
}
.additional-documents-block__title-matched {
  font-size: 24px;
  color: #ad0000
}
ul.additional-documents-block__list {
  margin: 0 0 22px 0;
  padding: 0;
  list-style-position: inside;
}
.additional-documents-block__list span {
  display: block;
  width: 80%;
  font-style: italic;
  font-size: 14px;
}


.profit-block {
  border: 1px solid #D1D1D1;
  margin-bottom: 45px;
  padding: 15px 36px 26px;
  text-align: center;
  text-transform: uppercase;
}
.profit-block__title {
  color: #ad0000
}
.profit-block__img {
  margin-top: 54px;
  width: 80%;
}
.profit-block__info {
  white-space: nowrap;
}
.content-button--profit-section {
  display: block;
  margin: 0 auto 50px;
}



.filled-section {
  position: relative;
  padding: 1px 0 54px;
}
.filled-section::before {
  content: "";
  height: 100%;
  width: 100vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  background-color: #FAFAFA;
  border-top: 1px solid #D1D1D1;
  border-bottom: 1px solid #D1D1D1;
  z-index: -1;
}
.content-title--fingerprint {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-start;
}
.fingerprint-img {
  margin-right: 54px;
}
.fingerprint-block {
  font-size: 18px;
  font-weight: 700;
}
.fingerprint-block__title {
  font-size: 22px;
  font-weight: 400;
  color: #ad0000;
}
.fingerprint-img {
  border-radius: 50%;
}


.compare-block {
  width: 48%;
}
.compare-block__step {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 34px;
  font-weight: 700;
}
.compare-block__img-wrapper {
  width: 102px;
  min-width: 102px;
  height: 102px;
  margin-right: 34px;
  border-radius: 50%;
  border: 1px solid #D9D9D9;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
}
.compare-block__img {
  display: block;
  width: 64px;
  height: 64px;
  background-image: url(../img/shengen/sprite-1.png);
  background-position: 0 0;
}
.compare-block__img--other {
  background-image: url(../img/shengen/sprite-2.png);
}

.compare-block__img--2 {
  background-position: -64px 0;
}
.compare-block__img--3 {
  background-position: -128px 0;
}
.compare-block__img--4 {
  background-position: -192px 0;
}
.compare-block__img--5 {
  background-position: -256px 0;
}
.compare-block__img--6 {
  background-position: -320px 0;
}

.compare-block .content-button {
  width: 80%;
  height: auto;
  margin: 0 auto 34px;
  line-height: 1.4;
  padding: 8px 36px;
}

.warning {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  color: #ad0000
}
.warning__img {
  display: inline-block;
  margin-right: 34px;
}
.warning .warning__text {
  font-size: 14px;
  display: inline-block;
}



.main-picture-block {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  padding: 20px;
  text-align: center;
  color: #fff;
}
.main-picture-block h1,
.main-picture-block h2,
.main-picture-block h3,
.main-picture-block h4,
.main-picture-block h5,
.main-picture-block ul {
  color: #fff;
}






/* modal window */
.modal {
  display: none;
  opacity: 0;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,70%);
  z-index: 100;
  transition: opacity .15s linear;
  display: none;
}
.modal--active {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  /* transition: opacity .15s linear; */
  /* opacity: 1; */
}
.modal__content {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.modal__close {
  position: absolute;
  right: -45px;
  top: -16px;
  cursor: pointer;
  outline: none;
  border: none;
  width: 40px;
  height: 40px;
  background: transparent;
}
.modal__close::before,
.modal__close::after {
  content: "";
  display: block;
  height: 2px;
  width: 25px;
  position: absolute;
  left: 6px;
  top: 19px;
  background-color: #fff;
}
.modal__close::before {
  transform: rotateZ(45deg);
}
.modal__close::after {
  transform: rotateZ(-45deg);
}
.modal__header {
  height: 80px;
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: center;
  background-color: #8f151a;
  border-bottom: 2px solid #dfa630;
}
.modal__body {
  padding: 20px 20px 30px;
  background-color: #fff;
}
h3.modal__title {
  color: #dfa630;
  font-size: 30px;
  font-weight: 700;
}
.modal__text {
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
}
.modal__contacts-wrapper {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  position: relative;
  margin-top: 34px;
  padding: 34px 34px 10px;
  border: 1px solid #D1D1D1;
}
.modal__contacts {
  width: 50%;
}
.modal__contacts-text {
  position: absolute;
  top: -15px;
  left: calc(50% - 135px);
  padding: 4px 16px;
  background-color: #fff;
}
.modal__link {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  color: #000;
  font-size: 24px;
}
.modal__link:hover,
.modal__link:active,
.modal__link:focus {
  text-decoration: none;
}
.modal__links-wrapper,
.modal__phone-wrapper {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
}
.modal__links-wrapper {
  justify-content: center;
}
.modal__phone-wrapper {
  justify-content: flex-start;
}
.modal__phone-wrapper span {
  padding-left: 20px;
}
.modal__button {
  display: block;
  max-width: 300px;
  margin: 20px auto;
}

@media all and (max-width: 960px) {
  .content-section {
    justify-content: center;
  }
  /* .content-section--documents,
  .content-section--profit,
  .content-section--fingerprint {
    justify-content: center;
  } */
  .documents-block {
    width: calc(33% - 30px);
    margin: 15px;
  }
  .country-block,
  .tarif-block,
  .profit-block,
  .fingerprint-block {
    width: calc(50% - 30px);
    margin: 15px;
  }
  .country-block {
    margin-bottom: 50px;
  }
  .fingerprint-img {
    margin-right: 34px;
  }
}

@media all and (max-width: 600px) {
  /* .content-section--tarif {
    justify-content: center;
  } */
  .country-block,
  .tarif-block,
  .profit-block,
  .fingerprint-block {
    width: calc(100% - 30px);
  }
  .tarif-block__inner {
    max-width: 100%;
  }
  .tarif-block__price {
    margin: 20px 0;
  }
  .documents-block {
    width: calc(50% - 30px);
    margin: 15px;
  }
  .additional-documents-block,
  .compare-block {
    width: 100%;
  }
  .compare-block__step {
    margin-bottom: 16px;
  }

  .warning__img {
    margin-right: 16px;
  }

  .content-section--compare .content-button,
  .content-section--additional-documents .content-button {
    display: block;
    margin: 0 auto 34px;
  }

  .tarif-block__info,
  .tarif-block__additional {
    height: auto;
  }
  .tarif-block__price {
    margin: 20px 0;
  }
}
