/* ------------------------- */
/* NORMALIZE */
/* ------------------------- */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: .67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; -webkit-text-decoration: underline dotted; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%}
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -.25em; }
sup { top: -.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[type=button], [type=reset], [type=submit], button { -webkit-appearance: button; }
[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; }
[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: .35em .75em .625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type=checkbox], [type=radio] { box-sizing: border-box; padding: 0; }
[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height: auto; }
[type=search] { -webkit-appearance: textfield; outline-offset: -2px; }
[type=search]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
[hidden], template { display: none; }
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre { margin: 0; }
button { background-color: transparent; background-image: none; padding: 0; }
button:focus { outline: 1px dotted; outline: 5px auto -webkit-focus-ring-color; }
fieldset, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
* { margin: 0; padding: 0; box-sizing: border-box; }
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------- */
/* BASE */
/* ------------------------- */
body {
    font-family: 'Ubuntu', sans-serif;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    color: #344A5E;
}

.central-content {
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bottom-content {
    height: 116px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 13px;
    line-height: 16px;
}
.bottom-content > span {
    display: flex;
    align-items: center;
}
.bottom-content > span > img {
    width: 12px;
    height: 12px;
    margin-bottom: -2px;
}
.bottom-content .mail {
    border-bottom: dotted 1px;
}
   

.caption {
    margin-top: 15px;
    text-align: center;
}

.big-text {
    font-weight: 500;
    font-size: 18px;
}

.small-text {
    font-size: 14px;
    padding: 0 20px;
    max-width: 600px;
}

.form__wrap {
    padding: 20px 0;
}

.form__pay {
    display: flex;
    flex-direction: column;
}

input {
    padding: 10px 5px;
    min-width: 183px;
    margin-bottom: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 0.5rem 0.75rem;
    font-size: .8rem;
    line-height: 1.25;
    transition: border-color .15s;
}
input:hover {
    border-color: #0279C0;
}

input[type="submit"] {
    cursor: pointer;
    color: #fff;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    background-color: #5cb85c;
    border-color: #5cb85c;
    transition: border-color .15s, background-color .15s;
}
input[type="submit"]:hover {
    background-color: #449d44;
    border-color: #419641;
}

input:required:valid {
    border-color: green;
}
input:required:invalid {
    border-color: red;;
}

.ref {
    font-size: 14px;
    color: #0279C0;
    text-decoration: none;
}

.ref:hover {
    text-decoration: underline;
}

.pic {
    margin-bottom: 15px;
}

.b-text_lang_ru {
    display: none;
}

.modal__box {
    margin-bottom: 15px;
    padding: 0 10px;
}

.modal__container-btn,
.modal__pretitle {
    font-size: 13px;
}

.modal {
    position: fixed; /* фиксированное положение */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5); /* цвет фона */
    z-index: 1050;
    opacity: 0; /* по умолчанию модальное окно прозрачно */
    -webkit-transition: opacity 200ms ease-in; 
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 200ms ease-in; /* анимация перехода */
    pointer-events: none; /* элемент невидим для событий мыши */
    margin: 0;
    padding: 0;
}
/* при отображении модального окно */
.modal:target {
    opacity: 1; /* делаем окно видимым */
	  pointer-events: auto; /* элемент видим для событий мыши */
    overflow-y: auto; /* добавляем прокрутку по y, когда элемент не помещается на страницу */
}
/* ширина модального окна и его отступы от экрана */
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
  .modal-dialog {
      max-width: 500px;
      margin: 30px auto; /* для отображения модального окна по центру */
  }
}
/* свойства для блока, содержащего контент модального окна */ 
.modal-content {
    position: relative;
    padding: 0 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}
@media (min-width: 768px) {
  .modal-content {
      -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
      box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
/* свойства для заголовка модального окна */
.modal-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}
/* свойства для кнопки "Закрыть" */
.close {
    float: right;
    font-family: sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    text-decoration: none;
}
/* свойства для кнопки "Закрыть" при нахождении её в фокусе или наведении */
.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .75;
}
/* свойства для блока, содержащего основное содержимое окна */
.modal-body {
  position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
    font-size: 13px;
}
.modal-body p {
    padding-bottom: 10px;
}

.icon_card {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
    height: 100px;
}
.icon_card img {
    transition: all .15s;
}
.icon_card img.mastercard {
    height: 50px;
}
.icon_card img.visa {
    height: 70px;
}
.icon_card img.beeline {
    height: 30px;
}
.icon_card img.megafon {
    height: 30px;
}
.icon_card img.webmoney {
    height: 30px;

}
.icon_card a {
    margin-right: 10px;
}
.icon_card a:hover img {
    filter: grayscale(100%);
    margin-top: -5px;
}