@font-face {
  font-family: "ProximaNova";
  src: url("https://psy-analiz.ru/fonts/proximanova-bold-webfont.eot");
  src: url("https://psy-analiz.ru/fonts/proximanova-bold-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-bold-webfont.svg#proxima_nova_rgbold")
      format("svg"),
    url("https://psy-analiz.ru/fonts/ProximaNova-Bold.otf") format("opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-bold-webfont.woff")
      format("woff"),
    url("https://psy-analiz.ru/fonts/proximanova-bold-webfont.ttf")
      format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "ProximaNova";
  src: url("https://psy-analiz.ru/fonts/proximanova-light-webfont.eot");
  src: url("https://psy-analiz.ru/fonts/proximanova-light-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-light-webfont.svg#proxima_nova_ltlight")
      format("svg"),
    url("https://psy-analiz.ru/fonts/ProximaNova-Light.otf") format("opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-light-webfont.woff")
      format("woff"),
    url("https://psy-analiz.ru/fonts/proximanova-light-webfont.ttf")
      format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "ProximaNova";
  src: url("https://psy-analiz.ru/fonts/proximanova-reg-webfont.eot");
  src: url("https://psy-analiz.ru/fonts/proximanova-reg-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-reg-webfont.svg#proxima_nova_rgregular")
      format("svg"),
    url("https://psy-analiz.ru/fonts/ProximaNova-Reg.otf") format("opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-reg-webfont.woff")
      format("woff"),
    url("https://psy-analiz.ru/fonts/proximanova-reg-webfont.ttf")
      format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ProximaNova";
  src: url("https://psy-analiz.ru/fonts/proximanova-regit-webfont.eot");
  src: url("https://psy-analiz.ru/fonts/proximanova-regit-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-regit-webfont.svg#proxima_novaregular_italic")
      format("svg"),
    url("https://psy-analiz.ru/fonts/ProximaNova-RegIt.otf") format("opentype"),
    url("https://psy-analiz.ru/fonts/proximanova-regit-webfont.woff")
      format("woff"),
    url("https://psy-analiz.ru/fonts/proximanova-regit-webfont.ttf")
      format("truetype");
  font-weight: normal;
  font-style: italic;
}

html,
body {
  padding: 0px;
  margin: 0px;
  color: #333;
  font-size: 16px;
  font-family: "ProximaNova", Tahoma, Geneva, sans-serif;
  background: none;
}
p {
  padding: 0px;
  margin: 0 0 10px 0;
}
input:focus {
  outline: none;
}
textarea:focus {
  outline: none;
}

.main {
  max-width: 960px;
  width: 95%;
}

h1 {
  font-size: 28px;
  padding: 15px 0;
  max-width: 960px;
  font-weight: 900;
  margin: 30px 0 15px 0;
  color: #515a5f;
}
h2 {
  font-size: 20px;
  padding: 0px;
  font-weight: 700;
  margin: 15px 0;
}
h3 {
  background: #f5f5f5;
  padding: 40px 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 20px 0;
  display: block;
  position: relative;
}
h3:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  z-index: 1;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}

h1.h3 {
  background: #f5f5f5;
  padding: 40px 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 20px 0;
  display: block;
  position: relative;
}
h1.h3:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #f5f5f5;
  border: 1px solid #ebebeb;
  z-index: 1;
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}

h1.small {
  border-bottom: 1px solid #fff;
  display: inline-block;
  margin: 0px;
  color: #fff;
  font-size: 24px;
  font-weight: normal;
  padding: 0px;
}
h2.small {
  padding: 0px;
  display: block;
  margin: 0px;
  color: #fff;
  font-size: 24px;
}

a {
  text-decoration: underline;
  color: #666;
}
a:hover {
  text-decoration: underline;
  color: #333;
}

div {
  -moz-box-sizing: border-box;
  -opera-sizing: border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing: border-box;
  box-sizing: border-box;
}

.bg {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg2 {
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg3 {
  background: url(https://psy-analiz.ru/img/bg3.jpg) no-repeat center center
    fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.circ {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

#menu {
  display: block;
  position: fixed;
  z-index: 999;
  width: 100%;
  padding: 15px 0 8px;
  background: #180118;
  left: 0px;
  top: 0px;
}
#menu a {
  display: inline-block;
  margin: 0 15px 5px 15px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #180118;
}
#menu a:hover {
  border-bottom: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}

.footer {
  background: #323232;
  color: #fff;
  padding: 50px 0;
  font-size: 14px;
}
.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover {
  text-decoration: underline;
  color: #ccc;
}

#facts span.txt {
  font-size: 26px;
  display: block;
}
#facts span.num {
  font-size: 48px;
  font-weight: bold;
  display: block;
}

td.left {
  padding: 10px 30px 10px 0;
  border: 2px solid #f5f5f5;
  border-left: none;
  border-bottom: none;
}
td.right {
  padding: 10px 0px 10px 30px;
  border-top: 2px solid #f5f5f5;
}
td.num {
  font-size: 60px;
  font-style: italic;
  color: #f5f5f5;
}

a.news {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  width: 95%;
  max-width: 800px;
  min-height: 300px;
  border: 1px solid #ebebeb;
  text-decoration: none !important;
  color: #666 !important;
}
a.news > div {
  flex: 0 0 50%;
}
a.news:nth-child(2n + 2) > div:first-child {
  order: 2;
}
a.news h1 {
  font-size: 18px;
  font-weight: 600;
  padding: 0px;
  margin: 0px;
  text-align: left;
  text-transform: uppercase;
}
a.news .index {
  height: 300px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
a.news .index .over {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  left: 0px;
  top: 0px;
  z-index: 5;
  -webkit-transition: All 0.5s ease;
  -moz-transition: All 0.5s ease;
  -o-transition: All 0.5s ease;
  -ms-transition: All 0.5s ease;
  transition: All 0.5s ease;
}
a.news:hover .index .over {
  left: -100%;
}
a.news .index p {
  display: block;
  padding: 0px;
  margin: 0px;
  width: 100%;
  overflow: hidden;
  color: #666;
  margin-top: 25px;
}
a.news .index .but {
  display: inline-block;
  padding: 5px;
  color: #fff;
  background: #333;
  cursor: pointer;
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
}
a.news .index .but:hover {
  background: #000;
}

input.white {
  display: block;
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
  padding: 15px;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  -moz-box-sizing: border-box;
  -opera-sizing: border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing: border-box;
  box-sizing: border-box;
}
textarea.white {
  display: block;
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
  padding: 15px;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  -moz-box-sizing: border-box;
  -opera-sizing: border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing: border-box;
  box-sizing: border-box;
}

.top_b2 {
  display: inline-block;
  height: 46px;
  border: none;
  color: #fff;
  line-height: 46px;
  padding: 0 20px;
  text-transform: uppercase;
  background: #91185b;
  box-shadow: 0 0 30px #91185b inset;
  cursor: pointer;
  font-size: 13pt;
  font-weight: bold;
}

.diary {
  display: block;
  padding: 5px 5px 25px 5px;
  margin-bottom: 15px;
  border-bottom: 1px solid #dadada;
  position: relative;
  -webkit-transition: All 0.5s ease;
  -moz-transition: All 0.5s ease;
  -o-transition: All 0.5s ease;
  -ms-transition: All 0.5s ease;
  transition: All 0.5s ease;
}
.diary .date {
  position: absolute;
  left: 5px;
  top: 0px;
  z-index: 1;
  font-size: 22px;
  text-transform: uppercase;
}
.diary .date span {
  font-weight: bold;
  display: block;
  font-size: 30px;
}
.diary .all {
  padding-left: 80px;
  font-size: 16px;
  min-height: 80px;
  overflow: hidden;
}
.diary .all .txt {
  font-size: 16px;
  text-align: justify;
}
.diary .fuul_time {
  position: absolute;
  left: 85px;
  bottom: 5px;
  font-size: 14px;
  color: #999;
}
.diary .read_more {
  position: absolute;
  right: 5px;
  bottom: 5px;
  font-size: 14px;
  color: #0082dd;
  cursor: pointer;
}
.diary .read_more:hover {
  text-decoration: underline;
}

.more_diary {
  cursor: pointer;
  display: block;
  padding: 5px 0;
  text-align: center;
  background: #dadada;
  color: #666;
}
.more_diary:hover {
  color: #000;
}

.all_mail {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.all_mail * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.all_mail h1 {
  flex: 0 0 100%;
  font-size: 24px;
  font-weight: bold;
  color: #e0c900;
  padding: 0px;
  margin: 0px;
  margin-bottom: 25px;
}
.all_mail input {
  flex: 0 0 31%;
  display: block;
  padding: 5px 7px;
  border: 1px solid #e0c900;
  background: #f5f5f5;
  border-radius: 3px;
  outline: none;
  font-size: 16px;
}
.all_mail > p {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex: 0 0 100%;
  margin-bottom: 10px;
}
.all_mail input[type="submit"] {
  flex: 0 0 100%;
  cursor: pointer;
  font-weight: bold;
  border: none;
  background: #e0c900;
  font-size: 18px;
  padding: 15px 0;
}
#all_desc {
  display: block;
  margin-bottom: 10px;
  width: 100%;
  resize: none;
  padding: 3px 7px;
}

.all_mail textarea {
  flex: 0 0 100%;
  padding: 7px;
  border: 1px solid #e0c900;
  background: #f5f5f5;
  border-radius: 3px;
  outline: none;
  font-size: 16px;
  height: 75px;
  resize: none;
}

input.r {
  display: none;
}
.mobile {
  display: none;
}

.map_form {
  padding: 30px;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 95%;
}

@media screen and (max-width: 1200px) {
  .all_mail input {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 960px) {
  html * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    position: relative;
  }
  .mobile {
    display: flex;
    font-size: 32px;
    justify-content: flex-end;
    cursor: pointer;
    color: #fff;
  }
  .menu {
    display: none;
    text-align: right;
  }
  .menu.open {
    display: flex;
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: 15;
    width: 100%;
    flex-direction: column;
  }
  #menu {
    padding: 15px;
    margin: 0px;
  }
  #menu a {
    flex: 0 0 100%;
    font-size: 18px;
    background: #180118;
    margin: 0px;
    padding: 7px 0;
    text-align: center;
  }

  table#top_mail {
    display: block;
  }
  table#top_mail > tbody {
    display: flex;
    flex-direction: column;
  }
  table#top_mail > tbody > tr:last-child {
    background: #000;
  }

  table.list {
    display: flex;
    width: 95% !important;
    max-width: 800px;
  }

  table.list tr {
    display: flex;
    justify-content: flex-start;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  table.list tr td {
    border: none !important;
  }
  table.list tr td.txt {
    order: 2;
    flex: 1 1 100%;
    padding: 15px;
    margin: 0;
    text-align: left;
  }
  table.list tr td.num {
    order: 1;
    text-align: left;
    font-size: 20px;
    flex: 0 0 80px;
    padding: 15px 0 15px 15px;
    margin: 0;
    color: #999;
  }

  .bg3_in {
    width: 95% !important;
    max-width: 900px;
  }

  .footer table {
    width: 95% !important;
  }
}

@media screen and (max-width: 760px) {
  table#facts {
    display: flex;
  }
  table#facts > tbody > tr {
    display: flex;
    flex-direction: column;
  }
  table#facts > tbody > tr > td {
    height: auto !important;
    width: 100%;
    padding: 15px 10px;
    border-bottom: 2px solid #91185b;
  }
  table#facts > tbody > tr > td:last-child {
    border-bottom: none;
    flex: 0 0 20%;
    margin-right: 15px;
    font-size: ;
  }

  a.news {
    flex-direction: column;
  }
  a.news .bg {
    height: 250px;
    float: none;
    flex: none;
    order: 0;
  }
  a.news:nth-child(2n + 2) > div:first-child {
    order: 0;
  }
  a.news:nth-child(2n + 2) > div:last-child {
    order: 1;
  }
  a.news .index .but {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .footer table tbody tr {
    display: flex;
    flex-direction: column;
  }
  .footer table tbody tr td {
    text-align: center !important;
  }
}

@media screen and (max-width: 600px) {
  table#top_mail > tbody > tr:first-child {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  table#top_mail > tbody > tr:first-child > td:first-child {
    flex: 0 0 100%;
    text-align: center;
    width: 100%;
  }
  table#top_mail > tbody > tr:first-child > td:first-child > p {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .mt {
    display: none !important;
  }
}

.pre-vcf {
  min-height: 100vh;
  background: #180118;
  display: flex;
  justify-content: space-around;
}
.vcf {
  height: 100%;
  background: #180118;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
}
.vcf > .bg {
  width: 100%;
  height: 300px;
}

.vcf .name {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  margin-top: 15px;
  font-size: 24px;
}
.vcf .knopka {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 15px 0;
  text-align: center;
  margin: 15px;
  background: #91185b;
  border-radius: 5px;
}
.vcf .params {
  padding: 0px;
  margin: 0px;
  list-style: none;
  width: 100%;
  padding-bottom: 15px;
  border-bottom: 5px solid #ffd3eb;
}
.vcf .params li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #91185b;
  font-size: 18px;
  color: #fff;
  width: 100%;
}
.vcf .params li:last-child {
  padding-bottom: 0px;
  border-bottom: none;
}
.vcf .params li > span:first-child {
  padding: 0 0 0 10px;
  flex: 0 0 150px;
}
.vcf .params li > span:last-child {
  padding: 0 10px 0px 0;
  flex: 1 1 100%;
}
.vcf a {
  color: #fff;
  text-decoration: none;
}

.vcf .feed {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 25px 10px;
  margin: 0px;
}
.vcf .feed li {
  padding: 0px;
  margin: 0 10px;
  list-style: none;
}
.vcf .feed li:last-child {
  margin-right: 0;
}
.vcf .feed li:first-child {
  margin-left: 0;
}
.vcf .feed li a {
  font-size: 32px;
}

.cookie {
  display: block;
  position: fixed;
  left: 25px;
  bottom: 10px;

  background: #000;
  color: #fff;
  text-align: left;
  width: 300px;
  max-width: 450px;
  padding: 7px 5px;
  z-index: 999;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 25px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 0px 0px 25px 0px rgba(50, 50, 50, 0.3);
  box-shadow: 0px 0px 25px 0px rgba(50, 50, 50, 0.3);
}

.c_text {
  font-size: 14px;
}

.c_button {
  display: inline-block;
  cursor: pointer;
  padding: 7px 15px;
  border: 1px solid #fff;
  margin-top: 7px;
  border-radius: 5px;
}

.c_button:hover {
  background: #fff;
  color: #000;
}
