/*
Theme Name: Написать жалобу
Description: Локальное восстановление оформления архивного сайта «Написать жалобу».
Version: 1.0.0
Text Domain: zh-restore
*/
@font-face {
  font-family: 'Open Sans Condensed';
  src: url('fonts/OpenSansCondensed-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}

body {
  background: url(img/main-bg.jpg);
  font-family: Georgia;
  font-size: 16px;
  line-height: 24px;
  color: #77838a;
}

h1 {
  color: #77838a;
  font-size: 24px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h2 {
  color: #77838a;
  font-size: 21px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #58a2e0;
}

h3 {
  color: #77838a;
  font-size: 18px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #58a2e0;
}

h4 {
  color: #77838a;
  font-size: 16px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #58a2e0;
}

p {
  text-align: justify;
}


/*Стандартные стили*/
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
  margin: auto;
}
.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float:left;
  margin: 5px 20px 20px 0;
}
.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}
a img.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float:left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto
}
.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin:0;
  max-width: 98.5%;
  padding:0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size:11px;
  line-height:17px;
  margin:0;
  padding:0 4px 5px;
}

strong {
  font-weight: bold;
}

blockquote {
  background-color: #fff;
  padding: 15px 20px 15px 25px;
  border-left: 3px solid #58a2e0;
  margin-top: 15px;
  margin-bottom: 15px;
}

em {
  font-style: italic;
}


a {
  color: #418cca;
}

.s404 {
  padding-top: 40px;
  text-align: center;
}

.s404 p{
  text-align: center;
}

.wrapper {
  width: 1000px;
  margin: 0 auto;
  background-color: #f7f4ee;
  min-height: 600px;
  box-shadow: 0 0 5px #777;
  padding: 0 40px 0 40px;
  margin-bottom: 20px;
}

.main-header {
  padding-top: 10px;
  position: relative;
  margin-bottom: 30px;
}

.main-header:before {
  content: "";
  position: absolute;
  top: 0;
  width: 97px;
  height: 270px;
  background: transparent url(img/langle.png) no-repeat center center;
  z-index: 10;
  left: -131px;
}

.main-header:after {
  content: "";
  position: absolute;
  top: 0;
  width: 97px;
  height: 270px;
  background: transparent url(img/rangle.png) no-repeat center center;
  z-index: 10;
  right: -131px;
}

.logo {
  height: 150px;
  width: 300px;
  margin-right: 20px;
  float: left;
  padding-top: 13px;
}

.main-menu {
  background: #58a2e0;
  height: 80px;
  margin-top: 7px;
  padding-left: 40px;
  box-shadow: 0px 2px 4px #9C9898;
  position: relative;
}
.main-menu ul {
  display: block;
  float: left;
}
.main-menu li {
  display: inline-block;
  line-height: 80px;
  padding-right: 45px;
}
.main-menu li:last-child {
  padding-right: 0;
}
.main-menu li a {
  color: #fff;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
}

.main-menu li a:hover {
 color: #dedede;
 text-decoration: underline;
}

.search-form input[type="text"] {
  position: absolute;
  height: 40px;
  width: 40px;
  right: 20px;
  top: 20px;
  border: 1px solid #fff;
  background: transparent url(img/search.png) center center no-repeat;
  box-sizing: border-box;
  cursor: pointer;
  text-indent: 10px;
  color: #fff;
}

.content {
  width: 680px;
  float: left;
  margin-right: 30px;
  padding-bottom: 25px;
}

.sidebar {
  float: left;
  width: 290px;
  padding-bottom: 40px;
}
.sidebar .widget-title {
  color: #58a2e0;
  font-size: 24px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  padding-bottom: 15px;
  border-bottom: 1px solid;
}

.side-menu ul li {
  height: 40px;
  line-height: 40px;
  border-bottom: 1px dotted #7b7a77;
  position: relative;
  padding-left: 25px;
  transition: padding 0.15s;
}
.side-menu ul li:hover {
  padding-left: 30px;
}
.side-menu ul li:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #58a2e0;
  left: 10px;
  top: 18px;
}
.side-menu ul li a {
  color: #418cca;
  text-decoration: none;
}

.loop-title {
  display: block;
  color: #77838a;
  font-size: 24px;
  font-family: 'Open Sans Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 30px;
}

.loop {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 30px;
  justify-content: space-around;
}
.loop .post-item {
  width: 220px;
  height: 350px;
  margin: auto auto 10px auto;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #77838a;
  padding: 9px;
  position: relative;
}
.loop .post-item img {
  max-width: 100%;
  height: auto;
}
.loop .post-item p {
  text-align: left;
  font-size: 14px;
  line-height: 20px;
}
.loop .post-item .post-title {
 display: block;
 color: #58a2e0;
 font-size: 18px;
 font-family: 'Open Sans Condensed', sans-serif;
 line-height: 18px;
 text-transform: uppercase;
 padding-top: 5px;
 padding-bottom: 10px;
 height: 44px;
 box-sizing: border-box;
 overflow: hidden;
 margin-bottom: 10px;
}

.morelink {
  background-color: #58a2e0;
  color: #fff;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 14px;
  line-height: 18px;
  padding: 5px 10px;
  margin-top: 15px;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.15s;
}
.morelink:hover {
  background-color: #3F8FD2;
}

.main-footer {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
.main-footer .copy {
  line-height: 163px;
  float: right;
}
.main-footer:after {
  content: "";
  position: absolute;
  height: 636px;
  width: 600px;
  background: transparent url(img/footer-pencil.png) center center no-repeat;
  right: -410px;
  bottom: -250px;
}

body {
  overflow-x: hidden;
}

.category-descr {
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  max-width: 95.2%;
}
.sandwich {
  display: none;
  position: absolute;
  height: 40px;
  width: 40px;
  left: 20px;
  top: 20px;
  border: 1px solid #fff;
  box-sizing: border-box;
  cursor: pointer;
  /* text-indent: 10px; */
  color: #fff;
  font-size: 25px;
  padding-top: 5px;
  text-align: center;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #58a2e0;
  z-index: 10;
  text-align: center;
}

.close-menu {
  z-index: 11;
  font-size: 19px;
  color: #fff;
  position: absolute;
  right: 10px;
  top: 10px;
  font-family: times;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  text-align: center;
  box-sizing: border-box;
  border-radius: 50%;
  padding-top: 1px;
  cursor: pointer;
}

.mobile-menu ul li {
  border-bottom: 1px dashed #fff;
  padding: 10px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
}
.content ul, .content ol {
  padding-left: 30px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.content ul li {
  position: relative;
  padding-left: 20px;
  padding-bottom: 6px;
}

.content ul li:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #58a2e0;
  left: 0px;
  top: 7px;
}

.contentol {
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-bottom: 20px;
}

.content ol {
  counter-reset: step-counter;
}

.content ol li {
  margin-bottom: 6px;
}

.content ol li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  margin-right: 5px;
  font-size: 80%;
  background-color: #58a2e0;
  color: white;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 3px;
}


.content p {
  padding-bottom: 15px;
}

.content .post-item p {
  padding-bottom: 0;
}

.post-item a {
  text-decoration: none;
}

.pager .wp-pagenavi span, .pager .wp-pagenavi a {
  border: 1px solid #58a2e0 ;
}

.wp-pagenavi span.current { 
 background-color: #58a2e0;
 color: #fff;
 border: 1px solid #58a2e0!important ;
}


span.rel-title{
  font-weight: bold;
  text-transform: uppercase;
  color:#58a2e0;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 20px;
  display: block;
  margin-bottom: 15px;
}

#related_posts {
  padding-top: 15px;
  border-top: 1px dashed #dedede;
}

.all-cat {
  margin-top: 20px;
  padding-top: 20px;
}

.item-cat {
  padding-bottom: 10px;
  padding-top: 10px;
  border-top: 1px dashed #dedede;
  border-bottom: 1px dashed #dedede;
}

.item-cat a {
  font-weight: bold;
  text-transform: uppercase;
  color: #58a2e0;
  font-family: 'Open Sans Condensed', sans-serif;
  text-decoration: none;
  font-size: 20px;
}


.petition-thumb {
  padding: 10px 0 10px 10px;
  float: right;
}

.post-content {
  min-height: 225px;
}

.latest {
  margin-top: 15px;
}

.latest ul li {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #dedede;
  white-space: nowrap; /* ÐžÑ‚Ð¼ÐµÐ½ÑÐµÐ¼ Ð¿ÐµÑ€ÐµÐ½Ð¾Ñ Ñ‚ÐµÐºÑÑ‚Ð° */
  overflow: hidden; /* ÐžÐ±Ñ€ÐµÐ·Ð°ÐµÐ¼ ÑÐ¾Ð´ÐµÑ€Ð¶Ð¸Ð¼Ð¾Ðµ */
  position: relative; /* ÐžÑ‚Ð½Ð¾ÑÐ¸Ñ‚ÐµÐ»ÑŒÐ½Ð¾Ðµ Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ */
  padding-right: 20px;
}

.latest ul li::after {
  content: ''; /* Ð’Ñ‹Ð²Ð¾Ð´Ð¸Ð¼ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚ */
  position: absolute; /* ÐÐ±ÑÐ¾Ð»ÑŽÑ‚Ð½Ð¾Ðµ Ð¿Ð¾Ð·Ð¸Ñ†Ð¸Ð¾Ð½Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð¸Ðµ */
  right: 0; top: 0; /* ÐŸÐ¾Ð»Ð¾Ð¶ÐµÐ½Ð¸Ðµ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð° */
  width: 40px; /* Ð¨Ð¸Ñ€Ð¸Ð½Ð° Ð³Ñ€Ð°Ð´Ð¸ÐµÐ½Ñ‚Ð°*/
  height: 100%; /* Ð’Ñ‹ÑÐ¾Ñ‚Ð° Ñ€Ð¾Ð´Ð¸Ñ‚ÐµÐ»Ñ */
  /* Ð“Ñ€Ð°Ð´Ð¸ÐµÐ½Ñ‚ */
  background: -moz-linear-gradient(left, rgba(247,244,238, 0.2), #F7F4EE 100%);
  background: -webkit-linear-gradient(left, rgba(247,244,238, 0.2), #fc0 100%);
  background: -o-linear-gradient(left, rgba(247,244,238, 0.2), #F7F4EE 100%);
  background: -ms-linear-gradient(left, rgba(247,244,238, 0.2), #F7F4EE 100%);
  background: linear-gradient(to right, rgba(247,244,238, 0.2), #F7F4EE 100%);
}

.latest ul li a {
 text-decoration: none;

}

body .tablepress thead th {
  background-color: #58a2e0;
  color:  #fff;
}

div.dataTables_length {
  margin-bottom: 10px;
}

.post-content iframe, .post-content img  {
  max-width: 100%; height: auto;
}

.table-wrapper {
  overflow-x: scroll;
}

.post-content {
  word-wrap: break-word;
}

.post-exc {
  height: 80px;
  overflow: hidden;
}

.info-block, .warning-block, .advice-block,.instructions-block {
  margin: 15px 0;
  border: 1px solid;
  border-radius: 10px;
  padding: 12px 12px 12px 56px;
  font-size: 90%;
  line-height: 19px;
  min-height: 64px;
  box-sizing: border-box;
}

.info-block {
  color: #00529B;
  background: #BDE5F8 url(img/file_documents-03-32.png) 12px center no-repeat; 
}

.warning-block {
  color: #D8000C;
  background: #FFBABA url(img/file_documents-20-32.png) 12px center no-repeat; 
}
.advice-block {
  color: #4F8A10;
  background:  #DFF2BF url(img/file_documents-16-32.png) 12px center no-repeat;
}

.instructions-block {
  color: #9F6000;
  background: #FEEFB3 url(img/file_documents-01-32.png) 12px center no-repeat;
}
@media only screen and (max-width :560px) {
  .petition-thumb  {
    float: none!important;
    padding: 0!important;
  }

}


@media only screen and (max-width :1100px) {
  .top-head  {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sandwich {
    display: block;
  }
  .main-menu ul {
    float: none !important;
    visibility: hidden;
  }
  .copy,  .main-footer:after, .main-header:after, .main-header:before, .sidebar {
    display: none !important;
  }
  .content, .logo {
    float: none !important;
  }
  .main-footer, .main-menu, .wrapper {
    max-width: 100%}
    .loop {
      max-width: 100% !important;
    }
    .wrapper {
      padding: 0 !important;
    }
    .content {
      width: 100% !important;
      margin-right: 0 !important;
    }
    .main {
      padding: 0 15px !important;
    }

    body img {
      max-width: 100%}
    }

.content #lexprofit-two_page .lexprofit-two_page-wrap {
  min-width: 100% !important;
}