* {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  text-decoration: none;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}
html,
body {
  height: 100%;
}
body {
  color: #ffffff;
  background: #be3645;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  position: relative;
  font-size: 16px;
  line-height: 20px;
}
@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 23px;
  }
}
body.ru {
  font-weight: 600;
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
img.fullwidth {
  display: block;
  width: 100%;
}
img.maxwidth {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.container {
  position: relative;
}
.container:before,
.container:after {
  content: " ";
  display: table;
}
.container:after {
  clear: both;
}
nobr {
  white-space: nowrap;
}
.red {
  color: #be3645;
}
@media (min-width: 768px) {
  .flexbox-container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .flexbox-row {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .flexbox-row:after,
  .flexbox-row:before {
    display: none;
  }
}
.site-wrapper {
  position: relative;
  height: auto;
  min-height: 100vh;
  padding: 20px;
  background: #be3645 url('../img/background1.png') no-repeat center top;
  background-size: 100% auto;
}
#video-block iframe {
  border: 5px solid #fcf8e7;
}
h1 {
  font-family: 'Baskervville';
  font-size: 32px;
  line-height: 130%;
}
@media (min-width: 768px) {
  h1 {
    font-size: 2.7vw;
  }
}
.subheader {
  font-family: 'Baskervville';
  font-size: 28px;
  line-height: 130%;
}
.text-block {
  text-align: center;
  padding: 0 7% 80px;
}
.text-block .logo {
  width: 70%;
  max-width: 376px;
  margin: 50px auto 0;
}
.text-block .share-block {
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
}
.text-block .share-block a.round-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #be3645 !important;
  text-decoration: none !important;
  background: #fcf8e7;
  font-size: 20px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  margin: 0 3px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  scale: 1;
}
.text-block .share-block a.round-link:hover {
  scale: 1.1;
}
.modal {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.modal .modal-content {
  background: #be3645;
  padding: 20px 0;
  border: none;
}
.modal .modal-content .subheader {
  text-align: center;
  font-size: 24px;
  line-height: 28px;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
}
.ru .modal .modal-content .subheader {
  font-weight: 600;
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
.modal .close {
  display: block;
  width: 40px;
  height: 37px;
  line-height: 37px;
  font-size: 37px;
  text-align: center;
  color: #ffffff;
  opacity: 1 !important;
  position: absolute;
  top: -20px;
  right: 0px;
  z-index: 5;
}
@media (min-width: 992px) {
  .modal .close {
    top: -15px;
    right: 5px;
  }
}
.modal .button_submit {
  display: block;
  color: #be3645;
  background: #ffffff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  font-size: 16px;
  margin: 30px 0 0;
  width: 100%;
  padding: 10px 5px;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}
.ru .modal .button_submit {
  font-weight: 600;
  font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
}
@media (min-width: 768px) {
  .modal .button_submit {
    padding: 12px 20px;
    margin-top: 50px;
  }
}
#form-modal input.regular_input {
  display: block;
  background-color: #ffffff;
  color: #be3645;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  font-size: 18px;
  line-height: 22px;
  padding: 10px;
  margin: 30px 0 0;
  width: 100%;
}
@media (min-width: 768px) {
  #form-modal input.regular_input {
    padding: 13px 18px;
  }
}
#form-modal input.regular_input.error {
  background-color: #f1cfd3;
}
#mailform > .row {
  margin-left: 0;
  margin-right: 0;
}
#thanks-modal {
  text-align: center;
}
#thanks-modal .button_submit {
  display: inline-block;
  width: auto;
}
#thanks-modal img.maxwidth {
  margin-top: 50px;
}
::-webkit-input-placeholder {
  color: #4d4d4d;
}
::-moz-placeholder {
  color: #4d4d4d;
}
/* Firefox 19+ */
:-moz-placeholder {
  color: #4d4d4d;
}
/* Firefox 18- */
:-ms-input-placeholder {
  color: #4d4d4d;
}
