@import url("../css/normalize.css");
@import url("../css/fonts.css");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}

*,*:before,*:after { -webkit-box-sizing:border-box;box-sizing:border-box; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
b, strong { font-weight: bold; }
input { outline: none; }
input:focus,textarea:focus{-webkit-box-shadow:none;box-shadow:none;}
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; vertical-align: top;}
iframe{ border:0; }
a { text-decoration: none; 	-webkit-transition:opacity .3s ease-out; -o-transition:opacity .3s ease-out; transition:opacity .3s ease-out; }
a:hover { text-decoration: none; }
*:focus{outline:none}

body {
	font-family: 'Roboto', sans-serif;
	font-size:14px;
	font-weight:normal;
	color:#000;
	background: #f3f4f8;
	margin:0 auto;
	padding:0;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	position: relative;
}

.wrapper {
    padding: 0 10px 150px;
    position: relative;
    min-height: 100vh;
    width: 475px;
    max-width: 100%;
    margin: 0 auto;
}

.name-block {
	margin: 0 0 24px;
}

.name-block__photo {
	text-align: center;
	margin: 0 0 12px;
}

.name-block__text {
	text-align: center;
}

.name-block__text b {
	color: #323232;
	font-size: 22px;
	font-weight: 600;
	line-height: normal;
	margin: 0 0 6px;
	display: block;
}

.name-block__text span {
	color: #868686;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	display: block;
}

.message {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 10px;
	align-items: flex-end;
}

.message__image {
	width: 30px;
	height: 30px;
	margin-right: 5px;
}

.message__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.message__text {
    background: #FFF;
    border-radius: 6px;
    padding: 8px 12px;
    width: auto;
    max-width: calc(100% - 35px);
}

.message-blue {
    display: flex;
}

.message-blue .message__text {
    margin-left: auto;
    border-radius: 6px;
    background: #1FB2FC;
    color: #FFF;
    width: auto;
}

.answers {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 5;
    background: #FFF;
    width: 100%;
    background: #FFF;
    box-shadow: 0px -6px 44px 0px rgba(0, 0, 0, 0.05);
    padding: 12px 10px;
    max-width: 475px;
}

.answer {
    display: block;
	background: #1fb2fc;
	text-align: center;
	color: #FFF;
    width: 100%;
	font-weight: bold;
	border-radius: 6px;
	font-size: 15px;
	padding: 8px 20px;
	margin: 0 0 9px;
}

.answer:last-child {
    margin: 0;
}

.form {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	box-shadow: 0px -6px 44px 0px rgba(0, 0, 0, 0.05);
	z-index: 4;
    background: #fff;
}

.g-recaptcha {
    padding: 5px 0;
}
.recaptcha-error {
    font-size: 18px;
    color: red;
    width: 100%;
}
.form input {
    width: 100%;
    height: 50px;
    border: none;
    padding: 12px 20px;
    font-family: 'Arial';
}

.form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: #1fb2fc;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper-finul {
    padding-bottom: 60px;
}

.name-block__photo img {
    width: 120px;
}

.hide {
	display: none;
}

.name-block__company {
    background: #f0f0f0;
    color: #a9a9a9;
    padding: 8px 10px;
    font-size: 11px;
    width: calc(100% + 20px);
    margin: 0 -10px 12px;
    text-align: center;
    line-height: 130%;
}

.name-block__company a {
    color: #a9a9a9;
    border-bottom: 1px dashed #d6d6d6;
}