/*
Theme Name: Сибирский центр детекции лжи (Replica)
Theme URI: https://morozovsite1.ru
Description: Тема-реплика дизайна detectorsfo.com на основе Dustland Express
Author: Admin
Version: 1.0.0
License: GPL v2 or later
Text Domain: dustland-replica
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic&subset=latin,cyrillic');

/* ===== RESET & BASE ===== */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-family: 'PT Sans', sans-serif;
  color: #5a5a5a;
  background: #fff;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}
a {
  text-decoration: none;
  color: #a9a9a9;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  -o-transition: 0.8s;
  transition: 0.8s;
  background: transparent;
}
a:hover {
  text-decoration: none;
  cursor: pointer;
  opacity: 0.6;
  color: #e53131;
}
img {
  max-width: 100%;
  border: 0;
}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-family: 'PT Sans', sans-serif;
  color: #5e5e5e;
}
h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 14px; }
ul { margin: 0; padding: 0; }
p { margin: 0 0 10px; }
.clearboth { clear: both; }

/* ===== SITE CONTAINER ===== */
.site-container {
  margin: 0 auto;
  width: 90%;
  min-width: 300px;
  padding: 0;
}
@media screen and (min-width: 1200px) {
  .site-container { width: 1100px; }
}

/* ===== HEADER ===== */
.ht-box{
  margin:0 20px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.kra-header-layout-standard .site-header-left{
  border:1px solid #5a5a5a;
  padding: 10px 12px;
  flex-shrink: 0;
}
.kra-header-layout-standard .site-title{
  font-size: 16px;
  font-family: "PT Sans";
  color: #5a5a5a;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.143;
  padding:0;
  margin: 0;
}
.kra-header-layout-standard .site-title a{
  color: #5a5a5a;
  font-weight: bold;
}
.kra-header-layout-standard .site-title .site-title__link {
  color: #e53131;
  line-height: 1.4;
  position: relative;
}
.kra-header-layout-standard .site-title .site-title__link:after {
  content: '';
  height: 20px;
  width: 20px;
  background-image: url('img/eye.png');
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}
.site-header-right {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-header-right .soc-icon a {
  display: inline-block;
  margin-left: 5px;
}
.soc-icon a {
  display: inline-block;
  width: 19px;
  height: 19px;
}
.soc-icon a.vk { background: url('img/soc2.png') 50% 50% no-repeat; }
.soc-icon a.vk:hover { background: url('img/soc_hover_soc2.png') 50% 50% no-repeat; }
.soc-icon a.fb { background: url('img/soc3.png') 50% 50% no-repeat; }
.soc-icon a.fb:hover { background: url('img/soc_hover_soc3.png') 50% 50% no-repeat; }

.site-header-center {
  text-align: center;
  flex: 1;
  padding: 0 20px;
}
.site-container .site-header-center,
.site-header-center .header-contact-data {
  font-size: 18px;
  font-weight: 700;
  color: #5a5a5a;
}
.site-header-right button {
  background: #e53131;
  box-sizing: border-box;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  font-family: "PT Sans";
  line-height: 1.143;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.site-header-right button:hover { opacity: 0.8; }

/* ===== NAVIGATION ===== */
.main-navigation {
  background-color: transparent;
  display: block;
  box-shadow: none;
  height: auto;
  border-top: 1px solid #5a5a5a;
  border-bottom: 1px solid #5a5a5a;
  margin-bottom: 10px;
}
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.main-navigation li {
  position: relative;
  display: inline-block;
  float: none;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  padding: 10px 25px;
  white-space: nowrap;
  text-align: center;
  -webkit-transition: all 0.2s ease 0s;
  -moz-transition: all 0.2s ease 0s;
  -ms-transition: all 0.2s ease 0s;
  -o-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
  font-size: 14px;
  font-family: "PT Sans";
  color: #5a5a5a;
  text-transform: uppercase;
  line-height: 1.143;
}
.main-navigation a:hover {
  background: none;
  color: #e53131;
}
.main-navigation li:first-child a {
  background: url('img/icon_home.png') 50% 50% no-repeat;
  text-indent: -9999px;
  width: 50px;
  height: 36px;
}
.main-navigation li:hover:first-child a,
.main-navigation li.current_page_item:first-child a {
  background: url('img/icon_home_act.png') 50% 50% no-repeat;
}
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
  background: none;
  color: #e53131;
}
.main-navigation .site-container { width: 100%; }
.main-navigation .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #5a5a5a;
  font-size: 28px;
  padding: 8px 15px;
  cursor: pointer;
  font-family: "PT Sans";
  line-height: 1;
}
.main-navigation .menu-toggle:hover { color: #e53131; }

/* ===== SLOGAN ===== */
.slogan {
  font-size: 14px;
  font-family: "PT Sans";
  color: #e53131;
  font-style: italic;
  line-height: 1.143;
  text-align: center;
  margin-bottom: 10px;
}

/* ===== HT-BOX ===== */
.ht-box { margin: 0 20px 20px 20px; }

/* ===== CASES SECTION ===== */
.cases {
  position: relative;
  margin-bottom: 10px;
  padding-top: 42px;
  padding-bottom: 37px;
  padding-left: 50px;
}
.cases__img {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
}
.cases__list { z-index: 1; }
.cases__item {
  color: #e53131;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  position: relative;
  padding-left: 28px;
  padding-bottom: 16px;
  line-height: 1.4;
}
.cases__item:before {
  position: absolute;
  content: '';
  left: 0;
  top: 8px;
  background-image: url('img/sprite.png');
  background-position: 0px -97px;
  width: 10px;
  height: 18px;
}

/* ===== BLOCK HEADER ===== */
.block-header {
  position: relative;
  font-weight: 700;
  font-size: 24px;
  color: #5a5a5a;
  background-color: #ececec;
  padding-left: 79px;
  padding-top: 14px;
  height: 55px;
  text-transform: uppercase;
  display: inline-block;
  padding-right: 20px;
  margin: 0 0 10px;
}
.block-header:before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  background-image: url('img/sprite.png');
  background-position: 0px 0px;
  width: 55px;
  height: 55px;
}
.block-header_theme_red-eye {
  color: #fff;
  background-color: #e53131;
}
.block-header_theme_red-eye:before {
  background-image: url('img/sprite.png');
  background-position: -60px 0px;
  width: 55px;
  height: 55px;
}
.block-header_theme_black-i-wide {
  background-color: #5a5a5a;
  color: #fff;
  display: block;
  text-align: center;
}
.block-header_theme_black-i-wide:before {
  background-image: url('img/info.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  width: 55px;
  height: 55px;
}

/* ===== LISTS ===== */
.ul {
  list-style: none;
  margin: 0;
}
.ul li {
  text-indent: 20px;
  position: relative;
  font-size: 24px;
  line-height: 1.35;
}
.ul li:before {
  position: absolute;
  left: 0;
  top: 10px;
  content: '';
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background-color: #e53131;
}
.ul_theme_arrow-b li {
  padding-left: 25px;
  text-indent: 0;
  margin-bottom: 5px;
}
.ul_theme_arrow-b li:before {
  background-color: transparent;
  background-image: url('img/sprite.png');
  background-position: -66px -60px;
  width: 17px;
  height: 17px;
  left: 0;
  top: 5px;
  border-radius: 0;
}
.ul_theme_arrow-r li {
  padding-left: 25px;
  text-indent: 0;
  margin-bottom: 5px;
}
.ul_theme_arrow-r li:before {
  background-color: transparent;
  background-image: url('img/sprite.png');
  background-position: -88px -60px;
  width: 17px;
  height: 17px;
  left: 0;
  top: 5px;
  border-radius: 0;
}
.info-section .ul { margin-bottom: 20px; }
.info-section .ul { margin-left: 45px; }

.link {
  text-decoration: underline;
  color: #e53131;
}

/* ===== PERSON SECTION ===== */
.person-section { margin-bottom: 30px; }
.person__text { font-size: 16px; }
.person__name {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.person__status {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

/* ===== SERVICES SECTION ===== */
.block-subheader {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}
.important { color: #e53131; text-transform: uppercase; }
.services__section {
  font-size: 24px;
  background-color: #ececec;
  padding: 30px;
  padding-top: 20px;
}
.services__name {
  display: block;
  text-align: center;
  color: #5a5a5a;
  text-decoration: underline;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ===== EDUCATION ===== */
.education { font-size: 24px; }
.education__section {
  font-size: 18px;
  background-color: #ececec;
  padding: 30px;
  padding-top: 20px;
}
.education__name {
  text-transform: uppercase;
  font-size: 24px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}
.education__price {
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  font-size: 48px;
  color: #e53131;
}
.education .button { margin-bottom: 70px; }

.button {
  font-weight: 700;
  font-size: 24px;
  color: #e53131;
  display: block;
  margin-right: auto;
  margin-left: auto;
  border: 2px solid #e53131;
  text-transform: uppercase;
  background-color: transparent;
  padding: 10px 14px;
  padding-bottom: 8px;
  -webkit-transition: all 0.4s linear;
  -moz-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
  cursor: pointer;
}
.button:hover {
  background-color: #e53131;
  color: #fff;
}
.button_arrow { position: relative; outline: none; }
.button_arrow:before {
  position: absolute;
  content: '';
  height: 55px;
  width: 55px;
  right: -55px;
  bottom: -55px;
  background-image: url('img/arrow.png');
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== PARTNERS ===== */
.partners { margin-bottom: 40px; }
.partners__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.partners__logo { max-width: 100%; }

/* ===== TEXT BLOCK ===== */
.text-title {
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}
.text-block { font-size: 16px; }

/* ===== CONTENT LAYOUT ===== */
#content.site-content {
  margin: 0 auto;
  width: 90%;
  min-width: 300px;
  overflow: hidden;
  clear: both;
}
@media screen and (min-width: 1200px) {
  #content.site-content { width: 1100px; }
}
.content-has-sidebar #primary {
  width: 70%;
  float: left;
}
#secondary {
  width: 28%;
  float: right;
}
.no-sidebar #primary {
  width: 100%;
  float: none;
}
.widget-area .widget { margin-bottom: 20px; }
.widget-area .widget h1 {
  padding: 0;
  margin: 0 0 10px 10px;
  border-bottom: none;
  font-weight: 400;
  font-size: 14px;
  font-family: "PT Sans";
  color: #e53131;
  text-transform: uppercase;
  line-height: 1.143;
}
.widget-area .widget ul {
  padding: 10px;
  border: 1px solid #d7d7d7;
  list-style: none;
}

/* ===== POSTS ===== */
article .entry-title {
  margin: 0px 0 15px;
  border-bottom: 1px solid #D7D7D7;
  padding: 10px 0;
  line-height: 1;
}
h1.entry-title, article h1.entry-title, article .entry-title a, p.widget-title {
  font-size: 14px;
  font-family: "PT Sans";
  color: #e53131;
  text-transform: uppercase;
  line-height: 1.143;
}
article .entry-content, article .entry-content .inc { font-size: 16px; }
.hentry {
  border-bottom: 1px solid #D7D7D7;
  margin: 0;
  padding: 0 0 15px;
}
article .entry-footer, article .entry-footer a {
  font-size: 14px;
  font-family: "PT Sans";
  color: #a9a9a9;
  font-style: italic;
  line-height: 1.143;
}

/* ===== FOOTER ===== */
footer .slogan {
  color: #A9A9A9;
  padding: 20px 0;
  border-bottom: 1px solid #5A5A5A;
  margin-bottom: 20px;
}
footer .r-block { margin-left: 250px; }
footer .main-navigation {
  border: none;
  margin-bottom: 10px;
  clear: none;
}
footer .main-navigation ul { text-align: right; }
footer .main-navigation li > a {
  font-size: 14px;
  font-family: "PT Sans";
  color: #5a5a5a;
  line-height: 1.143;
  text-align: left;
  text-transform: none;
  padding: 2px;
  display: inline-block;
  vertical-align: middle;
}
footer .main-navigation li:first-child a {
  width: 20px;
  height: 20px;
  text-indent: -9999px;
}
footer .main-navigation li:hover:first-child a {
  background: url('img/icon_home_act.png') 50% 50% no-repeat;
}
footer .main-navigation li {
  position: relative;
  display: inline-block;
  float: none;
}
footer .main-navigation li:after {
  content: '/';
  display: inline-block;
  vertical-align: middle;
  margin: 0 7px;
}
footer .main-navigation li:last-child:after { content: ''; margin: 0; }
footer.kra-header-layout-standard .site-header-left { margin-top: 0; }
footer.kra-header-layout-standard .site-header-right { margin-top: 0; }
footer .site-header-center { text-align: center; }
.bot .header-contact-data_mail { padding-right: 15px; }
.site-container .bot .site-header-center,
.bot .site-header-center .header-contact-data {
  font-weight: 400;
  font-size: 14px;
  color: #e53131;
}
footer .bot .site-header-center { margin: 0; }
#colophon { padding-bottom: 20px; }
footer .site-header-left {
  border: 1px solid #5a5a5a;
  padding: 10px 12px;
  float: left;
}

/* ===== SIDEBAR ===== */
.page-content, .entry-content, .entry-summary { margin: 0; }

/* ===== WIDGET AREA ===== */
.blog .widget-area { padding-top: 10px !important; }

/* ===== PARTNERS PAGE TABLE ===== */
table.ramkafoto-table,
table[width="1071"] {
  width: 100% !important;
  height: auto !important;
  border-collapse: collapse;
}
table.ramkafoto-table td,
table[width="1071"] td {
  display: inline-block;
  width: 50% !important;
  padding: 10px !important;
  text-align: center !important;
  vertical-align: middle !important;
  border: none !important;
  height: auto !important;
}
table.ramkafoto-table td img,
table[width="1071"] td img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
table.ramkafoto-table td a,
table[width="1071"] td a {
  display: block;
}
@media screen and (min-width: 768px) {
  table.ramkafoto-table td,
  table[width="1071"] td {
    width: 25% !important;
  }
}

/* ===== MODAL ===== */
.pre-text {
  text-align: center;
  margin-bottom: 10px;
  font-size: 14px;
  font-family: 'PT Sans';
  color: #5A5A5A;
}
.field { margin-bottom: 10px; }
.field input[type="text"] {
  border-radius: 0;
  border: 1px solid #c8c8c5;
  padding: 8px 10px;
  font-size: 14px;
  font-family: "PT Sans";
  color: #3B4040;
  line-height: 1.3;
  width: 100%;
  font-style: italic;
  box-sizing: border-box;
}
.modal-submit {
  border-radius: 0;
  border: none;
  padding: 10px 25px;
  font-family: "PT Sans";
  font-size: 14px;
  color: #fff;
  background: #E53131;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
}
.modal-submit:hover { opacity: 0.8; }

/* ===== MODLINK BUTTONS (from page content) ===== */
.modlink {
  background: #e53131;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-family: "PT Sans";
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  margin: 10px 0;
  text-align: center;
  line-height: 1.3;
}
.modlink:hover {
  opacity: 0.8;
  color: #fff;
}
/* Modlink inside site-header-center (specialist page) */
.site-header-center .modlink {
  font-size: 14px;
  padding: 10px 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 780px) {
  .ht-box { margin: 0; }
  .kra-header-layout-standard .site-header-left { margin-top: 0; text-align: center; }
  .site-header-right { text-align: center; margin-top: 5px; justify-content: center; }
  .site-header-center, footer .site-header-center { padding: 10px 0; }
  .site-header-right button { margin: 10px 0 0; }
  footer .r-block { margin-left: 10px; }
  .content-has-sidebar #primary,
  #secondary {
    width: 100%;
    float: none;
  }
  .cases { padding-left: 20px; }
  .cases__img { display: none; }
  .block-header {
    font-size: 15px;
    padding-left: 59px;
    height: 45px;
    padding-top: 12px;
  }
  .block-header:before {
    width: 45px;
    height: 45px;
    background-position: 0px 0px;
    background-size: auto;
  }
  .block-header_theme_red-eye:before {
    background-position: -60px 0px;
    width: 45px;
    height: 45px;
  }
  .block-header_theme_black-i-wide:before {
    background-size: 24px 24px;
    width: 45px;
    height: 45px;
  }
  .kra-header-layout-standard .site-header-left { border: none; }
  .ht-box { margin: 0; }

  /* Mobile menu */
  .main-navigation .menu-toggle { display: block; width: 100%; text-align: left; }
  .main-navigation ul { display: none; }
  .main-navigation ul.menu-open { display: block; }
  .main-navigation li {
    display: block;
    border-bottom: 1px solid #ececec;
  }
  .main-navigation li:first-child a {
    background: none;
    text-indent: 0;
    width: auto;
    height: auto;
    padding: 10px 15px;
  }
  .main-navigation li:hover:first-child a,
  .main-navigation li.current_page_item:first-child a { background: none; }
  .main-navigation li a {
    text-align: left;
    padding: 10px 15px;
    white-space: normal;
  }
  .main-navigation li:first-child a { padding: 10px 15px; }
  .main-navigation .site-container { padding: 0; }
  .main-navigation { margin-bottom: 5px; }
  
  /* Footer mobile menu */
  footer .main-navigation ul { display: block; }
  footer .r-block { margin-left: 0; }
  footer .site-header-left { float: none; text-align: center; border: none; }
  footer .bot .site-header-center { text-align: center; }
}
@media (max-width: 1060px) {
  .site-header-right button { margin-top: 10px; }
}

/* ===== ISV GRID SYSTEM ===== */
.isv-grid { font-size: 0; margin: 0; }
.isv-grid:not(.isv-grid-collapse) { margin-left: -10px; }
.isv-grid:not(.isv-grid-collapse) [class*="isv-grid-item"] { padding-left: 10px; margin-bottom: 0; }
.isv-grid [class*="isv-grid-item"] {
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
  width: 100%;
  font-size: 16px;
  line-height: 1.35;
}
.isv-grid .isv-grid-item { width: 100%; }
.isv-grid-item-m-3-12 { width: 25%; }
.isv-grid-item-m-9-12 { width: 75%; }
.services__grid:not(.isv-grid-collapse) { margin-left: -30px; }
.services__grid:not(.isv-grid-collapse) [class*="isv-grid-item"] { padding-left: 30px; margin-bottom: 25px; }
.services__grid .isv-grid-item { width: 100%; }
@media screen and (min-width: 768px) {
  .services__grid .isv-grid-item { width: 50%; }
}
.education__grid:not(.isv-grid-collapse) { margin-left: -30px; }
.education__grid:not(.isv-grid-collapse) [class*="isv-grid-item"] { padding-left: 30px; margin-bottom: 25px; }
.education__grid .isv-grid-item { width: 100%; }
@media screen and (min-width: 768px) {
  .education__grid .isv-grid-item { width: 50%; }
}
.partners__grid:not(.isv-grid-collapse) { margin-left: -50px; }
.partners__grid:not(.isv-grid-collapse) [class*="isv-grid-item"] { padding-left: 50px; margin-bottom: 50px; }
.partners__grid .isv-grid-item { width: 50%; }
.partners__grid [class*="isv-grid-item"] { vertical-align: middle; text-align: center; }
@media screen and (min-width: 768px) {
  .partners__grid .isv-grid-item { width: 33.333%; }
}
@media screen and (min-width: 992px) {
  .partners__grid .isv-grid-item { width: 25%; }
}
.mb-20 { margin-bottom: 20px; }
