@import url('https://fonts.googleapis.com/css?family=Play:400,700|Exo+2:600,700');

/**
 * @package IcoFont by ShapeBootstrap - https://shapebootstrap.net
 * @version 1.0.0 Beta
 * @author IcoFont http://icofont.com
 * @copyright Copyright (c) 2017 IcoFont
 * @license - http://icofont.com/license/
*/

@font-face {
  font-family: 'icofont';
  src: url('../fonts/icofont.eot?v=1.0.0-beta');
  src: url('../fonts/icofont.eot?v=1.0.0-beta#iefix') format('embedded-opentype'), url('../fonts/icofont.ttf?v=1.0.0-beta') format('truetype'), url('../fonts/icofont.woff?v=1.0.0-beta') format('woff'), url('../fonts/icofont.svg?v=1.0.0-beta#icofont') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-social-aim:before {
  content: "\edf2";
}

.icon-social-badoo:before {
  content: "\edf3";
}

.icon-social-bebo:before {
  content: "\edf4";
}

.icon-social-behance:before {
  content: "\edf5";
}

.icon-social-blogger:before {
  content: "\edf6";
}

.icon-social-bootstrap:before {
  content: "\edf7";
}

.icon-social-brightkite:before {
  content: "\edf8";
}

.icon-social-cloudapp:before {
  content: "\edf9";
}

.icon-social-concrete5:before {
  content: "\edfa";
}

.icon-social-designbump:before {
  content: "\edfb";
}

.icon-social-designfloat:before {
  content: "\edfc";
}

.icon-social-deviantart:before {
  content: "\edfd";
}

.icon-social-digg:before {
  content: "\edfe";
}

.icon-social-dotcms:before {
  content: "\edff";
}

.icon-social-dribble:before {
  content: "\ee00";
}

.icon-social-dropbox:before {
  content: "\ee01";
}

.icon-brand-drupal:before {
  content: "\ee02";
}

.icon-social-ebuddy:before {
  content: "\ee03";
}

.icon-social-ello:before {
  content: "\ee04";
}

.icon-social-ember:before {
  content: "\ee05";
}

.icon-social-evernote:before {
  content: "\ee07";
}

.icon-social-facebook:before {
  content: "\ee08";
}

.icon-social-feedburner:before {
  content: "\ee09";
}

.icon-social-folkd:before {
  content: "\ee0a";
}

.icon-social-friendfeed:before {
  content: "\ee0b";
}

.icon-social-ghost:before {
  content: "\ee0c";
}

.icon-social-github:before {
  content: "\ee0d";
}

.icon-social-gnome:before {
  content: "\ee0e";
}

.icon-social-google-buzz:before {
  content: "\ee0f";
}

.icon-social-google-map:before {
  content: "\ee10";
}

.icon-social-google-plus:before {
  content: "\ee11";
}

.icon-social-google-talk:before {
  content: "\ee12";
}

.icon-social-hype-machine:before {
  content: "\ee13";
}

.icon-social-instagram:before {
  content: "\ee14";
}

.icon-social-kickstarter:before {
  content: "\ee16";
}

.icon-social-line:before {
  content: "\ee17";
}

.icon-social-linux-mint:before {
  content: "\ee18";
}

.icon-social-livejournal:before {
  content: "\ee19";
}

.icon-social-magento:before {
  content: "\ee1a";
}

.icon-social-meetup:before {
  content: "\ee1b";
}

.icon-social-mixx:before {
  content: "\ee1c";
}

.icon-social-newsvine:before {
  content: "\ee1d";
}

.icon-social-nimbuss:before {
  content: "\ee1e";
}

.icon-social-opencart:before {
  content: "\ee1f";
}

.icon-social-oscommerce:before {
  content: "\ee20";
}

.icon-social-pandora:before {
  content: "\ee21";
}

.icon-social-picasa:before {
  content: "\ee22";
}

.icon-social-pinterest:before {
  content: "\ee23";
}

.icon-social-prestashop:before {
  content: "\ee24";
}

.icon-social-qik:before {
  content: "\ee25";
}

.icon-social-readernaut:before {
  content: "\ee26";
}

.icon-social-reddit:before {
  content: "\ee27";
}

.icon-social-rss:before {
  content: "\ee28";
}

.icon-social-shopify:before {
  content: "\ee29";
}

.icon-social-silverstripe:before {
  content: "\ee2a";
}

.icon-social-skype:before {
  content: "\ee2b";
}

.icon-social-slashdot:before {
  content: "\ee2c";
}

.icon-social-smugmug:before {
  content: "\ee2d";
}

.icon-social-steam:before {
  content: "\ee2e";
}

.icon-social-stumbleupon:before {
  content: "\ee2f";
}

.icon-social-technorati:before {
  content: "\ee30";
}

.icon-social-telegram:before {
  content: "\ee31";
}

.icon-social-tinder:before {
  content: "\ee32";
}

.icon-social-tumblr:before {
  content: "\ee33";
}

.icon-social-twitter:before {
  content: "\ee34";
}

.icon-social-typo3:before {
  content: "\ee35";
}

.icon-social-ubercart:before {
  content: "\ee36";
}

.icon-social-viber:before {
  content: "\ee37";
}

.icon-social-viddler:before {
  content: "\ee38";
}

.icon-social-vimeo:before {
  content: "\ee39";
}

.icon-social-vine:before {
  content: "\ee3a";
}

.icon-social-virb:before {
  content: "\ee3b";
}

.icon-social-virtuemart:before {
  content: "\ee3c";
}

.icon-social-wechat:before {
  content: "\ee3d";
}

.icon-social-xing:before {
  content: "\ee3f";
}

.icon-social-yahoo:before {
  content: "\ee40";
}

.icon-social-yelp:before {
  content: "\ee41";
}

.icon-social-zencart:before {
  content: "\ee42";
}

.icon-social-500px:before {
  content: "\f117";
}

.icon-social-baidu-tieba:before {
  content: "\f118";
}

.icon-social-bbm-messenger:before {
  content: "\f119";
}

.icon-social-delicious:before {
  content: "\f11a";
}

.icon-social-dribbble:before {
  content: "\f11b";
}

.icon-social-facebook-messenger:before {
  content: "\f11c";
}

.icon-social-flikr:before {
  content: "\f11d";
}

.icon-social-foursquare:before {
  content: "\f11e";
}

.icon-social-google-hangouts:before {
  content: "\f11f";
}

.icon-social-kakaotalk:before {
  content: "\f120";
}

.icon-social-kik:before {
  content: "\f121";
}

.icon-social-kiwibox:before {
  content: "\f122";
}

.icon-social-linkedin:before {
  content: "\f123";
}

.icon-social-meetme:before {
  content: "\f124";
}

.icon-social-odnoklassniki:before {
  content: "\f125";
}

.icon-social-photobucket:before {
  content: "\f126";
}

.icon-social-qq:before {
  content: "\f127";
}

.icon-social-renren:before {
  content: "\f128";
}

.icon-social-slack:before {
  content: "\f129";
}

.icon-social-slidshare:before {
  content: "\f12a";
}

.icon-social-snapchat:before {
  content: "\f12b";
}

.icon-social-soundcloud:before {
  content: "\f12c";
}

.icon-social-spotify:before {
  content: "\f12d";
}

.icon-social-stack-exchange:before {
  content: "\f12e";
}

.icon-social-stack-overflow:before {
  content: "\f12f";
}

.icon-social-tagged:before {
  content: "\f130";
}

.icon-social-trello:before {
  content: "\f131";
}

.icon-social-twitch:before {
  content: "\f132";
}

.icon-social-vk:before {
  content: "\f133";
}

.icon-social-weibo:before {
  content: "\f134";
}

.icon-social-whatsapp:before {
  content: "\f135";
}

.icon-social-youku:before {
  content: "\f136";
}

.icon-social-youtube-play:before {
  content: "\f137";
}

.icon-social-youtube:before {
  content: "\f138";
}

/*Font size*/

.icon-lg {
  font-size: 1.33333333em;
  line-height: .75em;
  vertical-align: -15%;
}

.icon-2x {
  font-size: 2em;
}

.icon-3x {
  font-size: 3em;
}

.icon-4x {
  font-size: 4em;
}

.icon-5x {
  font-size: 5em;
}

.icon-fw {
  display: inline-block;
  width: 1.28571429em;
  text-align: center;
}

/*Fixed Width Icons*/

.icon-fw {
  width: 1.28571429em;
  text-align: center;
}

/*Custom list icons*/

.icon-ul {
  padding-left: 0;
  margin-left: 2.14285714em;
  list-style-type: none;
}

.icon-ul > li {
  position: relative;
}

.icon-li {
  position: absolute;
  left: -2.14285714em;
  width: 2.14285714em;
  top: .14285714em;
  text-align: center;
}

/*Animation*/

.icon-rotate {
  -webkit-animation: icofont-rotate 2s infinite linear;
  animation: icofont-rotate 2s infinite linear;
}

@-webkit-keyframes icofont-rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes icofont-rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img,
abbr {
  border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ul li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

legend {
  color: #000;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

html,
body {
  background-color: #ffffff;
  font-family: 'Play', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #5c5c5c;
}

html *,
body * {
  box-sizing: border-box;
}

body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  min-height: 100vh;
}

.wrapper {
  max-width: 1000px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 auto;
}

header {
  padding: 35px 0;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

header .logo {
  height: 100px;
  width: 410px;
  background: transparent url("../img/logo.png") no-repeat center;
  margin: 0 auto;
  position: relative;
  display: block;
}

header .logo .social {
  position: absolute;
  top: 76px;
  left: 185px;
}

header .logo .social a {
  display: inline-block;
  color: #ffffff;
  height: 20px;
  width: 20px;
  background: gray;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
}

header .logo .social a.vk {
  background-color: #4e6f93;
}

header .logo .social a.fb {
  background-color: #3c5b9b;
}

header .logo .social a.instagram {
  background-color: #a2529b;
}

header .logo .social a i {
  font-size: 9.5pt;
}

nav {
  background-color: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-style: solid none;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

nav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

nav ul li a {
  font-family: 'Exo 2', sans-serif;
  position: relative;
  display: inline-block;
  color: #636363;
  text-decoration: none;
  padding: 13px 8px 9px 8px;
  margin: 0 5px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  line-height: 12px;
  border-bottom: 3px solid transparent;
  top: 1px;
}

nav ul li a:hover {
  border-color: #a3a3a3;
}

nav ul li.selected a {
  border-color: #ba5f89;
}

.content {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.content h1,
.content .h1 {
  margin: 2em 0 1em 0;
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
  font-family: 'Exo 2', sans-serif;
  text-transform: uppercase;
  background-color: #aa4d75;
  color: rgba(186, 95, 137, 0.2);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
  -webkit-background-clip: text;
  background-clip: text;
  padding-bottom: 0.5em;
  border-bottom: 1px dotted #e3e3e3;
}

.content h2,
.content .h2 {
  margin: 2em 0 1em 0;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase;
  color: #000000;
}

.content h3,
.content .h3 {
  margin: 2em 0 1em 0;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  color: #000000;
}

.content p,
.content ul,
.content ol,
.content .p {
  margin: 1em 0;
}

.content hr {
  border: none;
  height: 1px;
  background: #e3e3e3;
}

.content a {
  display: inline-block;
  color: #da6a97;
  text-decoration: none;
  border-bottom: 1px dotted #da6a97;
}

.content a:hover {
  border-bottom-style: solid;
}

.content .red {
  color: #da6a97;
}

.content .black {
  color: #000000;
}

.content .gray {
  color: #929292;
}

.content .text-up {
  text-transform: uppercase;
}

.content .button {
  padding: 8px 15px;
  border: 1px solid #9e466f;
  border-radius: 5px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #ba5f89;
  font-size: 1em;
  cursor: pointer;
}

.content .w-100 {
  width: 100%;
}

.content .a-center {
  text-align: center;
}

.content .a-right {
  text-align: right;
}

.content ul li {
  position: relative;
  padding: 1px 0 1px 23px;
  margin-left: 1.5em;
}

.content ul li:before {
  content: ' ';
  display: inline-block;
  width: 14px;
  height: 11px;
  position: absolute;
  top: 5px;
  left: 0px;
  background: transparent url("../img/lis-big.png") no-repeat -14px 0;
  background-size: cover;
}

.content ul li ul li {
  padding: 1px 0 1px 15px;
}

.content ul li ul li:before {
  content: '-';
  display: inline-block;
  position: absolute;
  top: 1px;
  left: 0px;
  background: none;
  font-weight: bold;
}

.content ul.pink li:before,
.content ul li.pink:before {
  background-position: 0 0;
}

.content ul.no-margin li {
  margin-left: 0px;
}

.content ul.line li {
  padding: 1px 0 1px 15px;
}

.content ul.line li:before {
  content: '-';
  display: inline-block;
  position: absolute;
  top: 1px;
  left: 0px;
  background: none;
  font-weight: bold;
}

.content strong,
.content .strong {
  font-weight: bold;
  color: #000000;
}

.content .bold {
  font-weight: bold;
}

.content .row-space {
  height: 1em;
}

.content .row-space-2 {
  height: 2em;
}

.content .img-wrapper {
  display: inline-block;
  border: 4px solid #ffffff;
  background: transparent;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  line-height: 0;
  position: relative;
  border-radius: 50%;
}

.content .img-wrapper img {
  border-radius: 50%;
}

.content .img-wrapper:after {
  content: ' ';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

footer {
  background: #686868;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding: 1em 0 0.5em 0;
}

footer .logo {
  margin: 0 auto;
  width: 65px;
  height: 35px;
  background: transparent url("../img/logo-footer.png") no-repeat center;
}

footer .copyright {
  text-align: center;
  color: #9d9d9d;
  font-weight: bold;
  padding-top: 1em;
  font-size: 0.9em;
}

.page_about__photo {
  float: right;
  margin: 2em 0em 2em 2em;
}

.page_about__gallery .items {
  border: 1px solid #e3e3e3;
  overflow: hidden;
  margin-bottom: 2em;
  line-height: 0;
}

.page_about__gallery .items img {
  width: 100%;
}

.page_services {
  margin-bottom: 2em;
}

.page_services__items {
  margin: 0 1em;
}

.page_services__items .item {
  padding-bottom: 1.5em;
  margin-bottom: 1.5em;
  border-bottom: 1px dotted #e3e3e3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.page_services__items .item .header {
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-basis: 250px;
  -ms-flex-preferred-size: 250px;
  flex-basis: 250px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  text-align: center;
}

.page_services__items .item .header .title {
  text-transform: uppercase;
  font-weight: bold;
  color: #5e5e5e;
  margin: 1em 0 0 0;
  font-size: 0.9em;
}

.page_services__items .item .header .price {
  font-weight: bold;
  color: #ba5f89;
  margin: 0.2em 0 0 0;
  font-size: 1em;
}

.page_services__items .item .header .notes {
  font-weight: bold;
  margin-bottom: 0.2em;
  font-size: 0.9em;
}

.page_services__items .item .description {
  margin: 0 1em;
}

.page_services__items .item .description > *:first-child {
  margin-top: 0.5em;
}

.page_services__items .item .description .price {
  font-weight: bold;
  color: #ba5f89;
}

.page_portfolio {
  margin-bottom: 2em;
}

.page_portfolio__items {
  margin: 0 1em;
}

.page_portfolio__items .item {
  padding-bottom: 1.5em;
  margin-bottom: 1.5em;
  border-bottom: 1px dotted #e3e3e3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.page_portfolio__items .item .header {
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-basis: 200px;
  -ms-flex-preferred-size: 200px;
  flex-basis: 200px;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  text-align: center;
  padding-bottom: 1em;
}

.page_portfolio__items .item .description {
  margin: 0 1em;
}

.page_portfolio__items .item .description > *:first-child {
  margin-top: 0.5em;
}

.page_portfolio__items .item .description .gallery {
  margin-top: 2em;
}

.page_portfolio__items .item .description .gallery .img-wrapper {
  margin: 0.3em;
}

.page_portfolio__items .item .description .gallery .img-wrapper img {
  width: 75px;
}

.page_contacts {
  margin-bottom: 0em;
}

.page_contacts .page_contacts__photo {
  background: transparent url("/img/contacts/photo.png") no-repeat right bottom;
  background-size: contain;
  border-bottom: 1px dotted #e3e3e3;
  min-height: 320px;
  padding-right: 300px;
}

.page_contacts .social,
.page_contacts .phone {
  margin: 2em 0;
}

.page_contacts .social span,
.page_contacts .phone span {
  display: inline-block;
  margin-right: 1em;
}

.page_contacts .icon {
  font-size: 20px;
  margin-right: 5px;
  vertical-align: middle;
}

.page_contacts .icon-social-vk {
  color: #4e6f93;
}

.page_contacts .icon-social-facebook {
  color: #3c5b9b;
}

.page_contacts .icon-social-instagram {
  color: #a2529b;
}

.page_contacts .icon-social-whatsapp {
  color: #09a21f;
}

.page_tests section {
  border-bottom: 1px dotted #e3e3e3;
  padding: 25px 0;
}

.page_tests section.contacts {
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
  padding-top: 0;
}

.page_tests section.contacts .notes {
  font-weight: normal;
  font-size: 0.9em;
}

.page_tests section.contacts .contacts_form {
  width: 500px;
  margin: 0 auto;
}

.page_tests section.contacts .contacts_form .row {
  margin: 15px 0;
}

.page_tests section.contacts .contacts_form .row input {
  width: 100%;
  border: 1px solid #c1c1c1;
  border-radius: 5px;
  box-shadow: inset 0px 0px 3px 0px rgba(50, 50, 50, 0.3);
  padding: 8px 5px;
  text-align: center;
}

.page_tests section.contacts .contacts_form .row input::-webkit-input-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_tests section.contacts .contacts_form .row input::-moz-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_tests section.contacts .contacts_form .row input:-ms-input-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_tests section.contacts .contacts_form .row input::placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_tests section.contacts .contacts_form .row button {
  width: 100%;
  padding: 8px 5px;
  border: 1px solid #9e466f;
  border-radius: 5px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #ba5f89;
  font-size: 1em;
  cursor: pointer;
}

.page_tests section.annotation {
  text-align: center;
  font-size: 1.8em;
  line-height: 1.4em;
  padding-top: 10px;
}

.page_tests section.questions .question {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  margin-bottom: 30px;
}

.page_tests section.questions .question .counter {
  background-color: #ba5f89;
  color: #ffffff;
  width: 80px;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 15px;
  padding: 10px;
}

.page_tests section.questions .question .text {
  font-weight: bold;
  font-size: 1.4em;
  color: black;
  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;
}

.page_tests section.questions .answers.type-img {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.page_tests section.questions .answers.type-img .answer {
  margin: 5px;
  border: 5px solid #ffffff;
  box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.3);
  cursor: pointer;
}

.page_tests section.questions .answers.type-img .answer:hover {
  box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.5) !important;
}

.page_tests section.questions .answers.type-img .answer.selected {
  border-color: #e9004c;
}

.page_tests section.questions .answers.type-img .answer .img {
  box-shadow: inset 0px 0px 3px 0px rgba(50, 50, 50, 0.3);
}

.page_tests section.questions .answers.type-img .answer .img img {
  display: block;
}

.page_tests section.questions .answers.type-img .answer span {
  display: block;
  padding: 10px;
  text-align: center;
  color: black;
  font-size: 1.2em;
  font-weight: bold;
}

.page_tests section.questions .answers.type-img .answer input {
  display: none;
}

.page_tests section.questions .answers.type-text .answer {
  display: block;
  margin: 0;
  border: 5px solid transparent;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  padding: 5px 10px;
}

.page_tests section.questions .answers.type-text .answer:hover {
  box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.3);
}

.page_tests section.questions .answers.type-text .answer.selected {
  border-color: #e9004c;
}

.page_tests section.questions .answers.type-text .answer .li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.page_tests section.questions .answers.type-text .answer .li .counter {
  text-align: left;
  padding-right: 10px;
}

.page_tests section.questions .answers.type-text .answer .li .counter:after {
  content: '.';
  display: inline;
}

.page_tests section.questions .answers.type-text .answer input {
  display: none;
}

.page_tests section.result .result_massage {
  padding: 35px;
  text-align: center;
  background-color: #f8f8f8;
  border: 1px solid #e3e3e3;
  font-weight: bold;
  font-size: 1.2em;
}

.page_tests .buttons {
  margin: 35px 0;
}

.page_tests .buttons button {
  width: 100%;
  padding: 15px 5px;
  border: 1px solid #9e466f;
  border-radius: 5px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #ba5f89;
  font-size: 1.4em;
  cursor: pointer;
}

.page_tests .buttons button:disabled {
  opacity: 0.5;
}

.page_tests #testForm {
  display: none;
}

.page_tests #saveError {
  display: none;
}

.page_tests #saveResult {
  display: none;
}

.page_admin .auth {
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
  padding-top: 0;
}

.page_admin .auth .auth_form {
  width: 500px;
  margin: 0 auto;
}

.page_admin .auth .auth_form .row {
  margin: 15px 0;
}

.page_admin .auth .auth_form .row input {
  width: 100%;
  border: 1px solid #c1c1c1;
  border-radius: 5px;
  box-shadow: inset 0px 0px 3px 0px rgba(50, 50, 50, 0.3);
  padding: 8px 5px;
  text-align: center;
}

.page_admin .auth .auth_form .row input::-webkit-input-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_admin .auth .auth_form .row input::-moz-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_admin .auth .auth_form .row input:-ms-input-placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_admin .auth .auth_form .row input::placeholder {
  color: #a3a3a3;
  font-weight: normal;
}

.page_admin .auth .auth_form .row button {
  width: 100%;
  padding: 8px 5px;
  border: 1px solid #9e466f;
  border-radius: 5px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #ba5f89;
  font-size: 1em;
  cursor: pointer;
}

.page_admin .error {
  text-align: center;
  padding: 20px;
  color: red;
  border: 1px solid red;
  background: rgba(255, 0, 0, 0.06);
  font-weight: bold;
}

.page_admin .result {
  text-align: center;
  padding: 20px;
  color: #304ba2;
  border: 1px solid #304ba2;
  background: rgba(255, 236, 211, 0.65);
  font-weight: bold;
}

.page_admin .data-table {
  margin: 2em 0;
}

.page_admin .data-table table {
  border-collapse: collapse;
  width: 100%;
}

.page_admin .data-table table th {
  font-weight: bold;
  padding: 5px;
  border-bottom: 3px solid #e3e3e3;
}

.page_admin .data-table table tr td {
  padding: 5px;
  border-bottom: 1px solid #e3e3e3;
}

.page_admin .data-table table tr:hover td {
  background-color: #f0f0f0;
}

.page_admin .data-table table tr.selected td {
  background-color: #ffecd3;
}

.page_admin .data-table .buttons {
  margin: 1em;
  text-align: center;
}

.page_admin .data-table .buttons button {
  padding: 8px 15px;
  border: 1px solid #9e466f;
  border-radius: 5px;
  color: #ffffff;
  text-transform: uppercase;
  background-color: #ba5f89;
  font-size: 1em;
  cursor: pointer;
}

@media screen and (max-width: 1100px) {
  .wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 960px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 780px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page_about__photo {
    float: none;
  }

  .page_about__photo {
    text-align: center;
  }

  .page_about__photo {
    margin: 2em 0em;
  }

  .page_tests section.contacts .contacts_form {
    width: 100%;
  }

  .page_tests section.questions .answers.type-img .answer .img img {
    width: 100%;
  }

  .page_admin .auth .auth_form {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  header {
    padding: 20px 0;
  }

  header .logo {
    height: 80px;
  }

  header .logo {
    width: 278px;
  }

  header .logo {
    background-image: url("../img/logo-big.png");
  }

  header .logo {
    background-size: contain;
  }

  header .logo .social {
    top: 60px;
  }

  header .logo .social {
    left: 20px;
  }

  nav ul {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  nav ul {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  nav ul {
    padding-bottom: 10px;
  }

  nav ul li a {
    padding: 10px 0px 4px 0px;
  }

  .content h1,
  .content .h1 {
    font-size: 1.4em;
  }

  .content h1,
  .content .h1 {
    margin-top: 1.5em;
  }

  footer .copyright {
    padding-top: 0.5em;
  }

  footer .copyright {
    font-size: 0.8em;
  }

  .page_about__gallery .wrapper {
    padding: 0;
  }

  .page_about__gallery .items {
    border-style: solid none;
  }

  .page_about__gallery .items {
    margin-bottom: 0;
  }

  .page_services__items .item {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .page_services__items .item .header {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .page_portfolio__items .item {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .page_portfolio__items .item .header {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .page_portfolio__items .item .description h2,
  .page_portfolio__items .item .description .h2 {
    text-align: center;
  }

  .page_portfolio__items .item .description .gallery {
    text-align: center;
  }

  .page_portfolio__items .item .description .gallery .img-wrapper {
    border-width: 2px;
  }

  .page_portfolio__items .item .description .gallery .img-wrapper img {
    width: 50px;
  }

  .page_contacts .page_contacts__photo {
    padding-right: 0;
  }

  .page_contacts .page_contacts__photo {
    min-height: auto;
  }

  .page_contacts .page_contacts__photo {
    background-size: 120px;
  }

  .page_contacts .social span,
  .page_contacts .phone span {
    display: block;
  }

  .page_contacts .social span,
  .page_contacts .phone span {
    margin: 0.5em 0;
  }
}