/*!
Theme Name: Xyout
Version: 1.0.7

*/

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 148, 99, .75) #fff;
}

/* для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: #fff;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(41, 148, 99, .75);
  border-radius: 4px;
  border: 1px solid #fff;
}

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;
}

/* =Gridiculous
-------------------------------------------------------------- */

img {
  max-width: 100%;
  height: auto;
}

.wfull,
.c12 {
  width: 100%;
  max-width: 100%;
}

.w320 {
  max-width: 320px;
}

.w640 {
  max-width: 640px;
}

.w960 {
  max-width: 960px;
}

.row {
  width: 100%;
  margin-bottom: 20px;
}

.row .row {
  width: auto;
  margin-left: -20px;
  margin-right: -20px;
}

@media (max-width: 960px) {

  .row .row .c1,
  .row .row .c2,
  .row .row .c3,
  .row .row .c4,
  .row .row .c5,
  .row .row .c6,
  .row .row .c7,
  .row .row .c8,
  .row .row .c9,
  .row .row .c10,
  .row .row .c11,
  .row .row .c12 {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 960px) {
  .row .row>div:last-child {
    margin-bottom: 0;
  }
}

.c1 {
  width: 8.33%;
}

.c2 {
  width: 16.66%;
}

.c3 {
  width: 25%;
}

.c4 {
  width: 33.33%;
}

.c5 {
  width: 41.66%;
}

.c6 {
  width: 50%;
}

.c7 {
  width: 58.33%;
}

.c8 {
  width: 66.66%;
}

.c9 {
  width: 75%;
}

.c10 {
  width: 83.33%;
}

.c11 {
  width: 91.66%;
}

.w320 .c1,
.w320 .c2,
.w320 .c3,
.w320 .c4,
.w320 .c5,
.w320 .c6,
.w320 .c7,
.w320 .c8,
.w320 .c9,
.w320 .c10,
.w320 .c11,
.w640 .c1,
.w640 .c2,
.w640 .c3,
.w640 .c4,
.w640 .c5,
.w640 .c6,
.w640 .c7,
.w640 .c8,
.w640 .c9,
.w640 .c10,
.w640 .c11 {
  width: 100%;
}

.s1 {
  margin-left: 8.33%;
}

.s2 {
  margin-left: 16.66%;
}

.s3 {
  margin-left: 25%;
}

.s4 {
  margin-left: 33.33%;
}

.s5 {
  margin-left: 41.66%;
}

.s6 {
  margin-left: 50%;
}

.s7 {
  margin-left: 58.33%;
}

.s8 {
  margin-left: 66.66%;
}

.s9 {
  margin-left: 75%;
}

.s10 {
  margin-left: 83.33%;
}

.s11 {
  margin-left: 91.66%;
}

.end {
  float: right !important;
}

.c1,
.c2,
.c3,
.c4,
.c5,
.c6,
.c7,
.c8,
.c9,
.c10,
.c11,
.c12 {
  min-height: 1px;
  float: left;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

@media (max-width: 768px) {

  .c1,
  .c2,
  .c3,
  .c4,
  .c5,
  .c6,
  .c7,
  .c8,
  .c9,
  .c10,
  .c11,
  .c12 {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
  }
}

/* =Clearfix http://css-tricks.com/snippets/css/clear-fix/
-------------------------------------------------------------- */
.row:after,
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* =General
-------------------------------------------------------------- */
* {
  box-sizing: border-box;
  word-wrap: break-word;
  outline: none;
}

body {
  font-size: 14px;
  line-height: 1.6;
  font-family: 'PT Sans', sans-serif;
  color: #373737;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  margin: 1.5em 0;
  text-rendering: optimizelegibility;
}

.basic h1,
.basic h2,
.basic h3,
.basic h4,
.basic h5,
.basic h6 {
  font-weight: normal;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

.basic h1 a,
.basic h2 a,
.basic h3 a,
.basic h4 a,
.basic h5 a,
.basic h6 a {
  color: #373737;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 22px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

p {
  margin: 1.5em 0;
}

a {
  text-decoration: none;
}

.basic a {
  color: #222;
  transition: color .2s ease-in-out;
}

.basic a:hover {
  color: #028e4a;
}

.basic a:visited {
  color: #6f0017;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

ul,
ol {
  padding: 0 0 0 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

table {
  width: 100%;
  background: #fff;
}

table td,
table th {
  padding: 8px;
  border: 1px solid #bbb;
  text-align: left;
}

table th {
  background: #ddd;
  font-weight: bold;
}

table caption {
  padding: 1em 0;
  text-align: center;
}

dt {
  font-weight: bold;
}

dd {
  line-height: 1.4;
  margin: 4px 0 0;
  padding: 0 0 .5em 0;
}

blockquote {
  margin: 1em 0 0 -5px;
  border-left: 5px solid #e4e4e4;
  padding-left: 12px;
  border-radius: 5px 0 0 5px;
  padding: 1px 16px;
  color: #707070;
  font-size: .925em;
}

cite {
  text-align: right;
  font-style: normal;
  display: block;
}

cite:before {
  content: '\2013 \00A0';
}

code,
kbd,
pre,
samp,
tt {
  font: 1em 'Lucida Console', monospace;
}

pre,
code {
  border-radius: 3px;
  background: #fafafa;
  color: #065631;
  padding: 2px 5px;
}

pre code,
code.hljs {
  display: block;
  line-height: 1.5;
  background: #fafafa;
}

pre {
  white-space: pre;
  padding: 8px 0 0 20px;
  word-wrap: normal;
  overflow: auto;
  line-height: 1.3;
  margin: 1.5em 0 0 -5px;
  border-radius: 4px 0 0 4px;
  border-left: solid 1px #028e4a;
  box-shadow: 480px 0 0px #fafafa;
}

@media screen and (min-width: 1600px) {
  pre {
    margin-right: -20px;
    padding-right: 20px;
  }
}
@media screen and (max-width: 768px) {
  pre {
    margin-left: -10px;
  }
}

select {
  width: 100%;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

del {
  color: red;
  text-decoration: line-through;
}

ins {
  border-bottom: 1px solid green;
  text-decoration: none;
  color: green;
}

em,
i,
var {
  font-style: italic;
}

strong,
b {
  font-weight: bold;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

abbr,
acronym {
  border-bottom: 1px dotted;
}

address {
  margin: 0 0 1.5em;
  font-style: italic;
}

.image-anchor {
  border: 0 !important;
}

/* =Inputs
-------------------------------------------------------------- */
input,
textarea {
  border-radius: 4px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  color: #373737;
}

input:focus,
textarea:focus {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  border-color: #AAA;
}

input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
  width: 240px;
}

input[type="submit"] {
  margin-top: 0;
}

textarea {
  width: 100%;
}

select {
  display: inline-block;
  height: 28px;
  line-height: 1;
  border: 1px solid #aaa;
  padding: 4px;
  color: #555;
}

.widget select {
  width: 70%;
}

/* =Media
-------------------------------------------------------------- */
video {
  max-width: 100%;
  height: auto;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
figure {
  max-width: 640px;
  margin: 20px auto;
}
figure video {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
figure video + figcaption,
figure img + figcaption {
  font-size: small;
  margin: 1em 0;
  text-align: center;
}

audio:not([controls]) {
  display: none;
}

.responsive-video-wrapper {
  width: 100%;
  position: relative;
  padding: 0;
}

.responsive-video-wrapper iframe,
.responsive-video-wrapper object,
.responsive-video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =Assitive Text
-------------------------------------------------------------- */
.remove,
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

body {
  /* transition: left 0.25s ease-in-out;
  position: relative;
  left: 0; */
  letter-spacing: 0.05em;
}

body.basic {
  color: #373737;
  background: #fff;
}

/* =Header
-------------------------------------------------------------- */
#site-title {
  margin: 0;
  line-height: 1;
  font-size: 20px;
  white-space: nowrap;
}

.basic #site-title {
  font-family: 'Lucida Console', monospace;
  font-weight: normal;
  text-align: center;
}

#site-title a,
#site-title a:visited {
  text-decoration: none;
  color: #028e4a;
}

#site-logo {
  margin-bottom: 5px;
}

.site-description {
  margin: 0;
  font-size: 10px;
  line-height: 1.2;
  font-family: 'PT Sans', sans-serif;
  font-weight: 300;
}
.header-wrap .site-description {
  text-align: right;
}
#site-description {
  border-bottom: solid 1px #028e4a;
  margin-bottom: 25px;
  margin-top: -10px;
  width: 100%;
  padding-bottom: 10px;
}

#header-img {
  padding: 0;
  border: 0;
  clear: both;
  margin: 0 auto 30px auto;
  display: block;
  max-width: 75px;
}

.header-wrap {
  border-bottom: solid 1px #028e4a;
  float: left;
  margin-bottom: 16px;
  width: 100%;
  padding-bottom: 8px;
  padding-top: 9px;
}

/* =Main Navigation
-------------------------------------------------------------- */
#site-navigation {
  margin-bottom: 50px;
  clear: both;
}

#site-navigation ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#site-navigation ul li {
  padding: 0 0 6px;
  font-size: x-large;
}

#site-navigation ul li a {
  padding: 2px 0;
  display: block;
  text-decoration: none;
}

/* #site-navigation ul li.sub-menu-parent>a:after {
  content: "\f0d7";
  font-family: 'FontAwesome';
  margin: 2px 0 0 8px;
}

#site-navigation ul li.sub-menu-parent>a.open:after {
  content: "\f0d8";
}

.basic #site-navigation ul li.sub-menu-parent>a:after {
  content: "\f024";
}

.basic #site-navigation ul li.sub-menu-parent>a.open:after {
  content: "\f025";
} */

#site-navigation ul ul {
  padding: 5px 0 0 15px;
  display: none;
}

#site-navigation a,
#site-navigation a:visited {
  color: #222;
}

#site-navigation a:hover {
  color: #028e4a;
}

#site-navigation .current-menu-item a,
#site-navigation .current-menu-item a:hover,
#site-navigation .current-menu-item a:visited {
  color: #e30e3c;
}

.navigation {
  text-align: center;
  margin: 30px 0 20px;
  display: flex;
  justify-content: space-around;
}

.nav-previous a,
.nav-next a,
.nav-previous a:link,
.nav-next a:link,
.nav-previous a:visited,
.nav-next a:visited {
  display: inline-block;
  text-decoration: none;
  padding: 3px 6px 4px;
  border-radius: 2px;
  background-color: #028e4a;
  color: #fff;
  transition: color .2s ease-in-out;
}
.nav-previous a:hover,
.nav-next a:hover,
.nav-previous a:active,
.nav-next a:active {
  background-color: #02793f;
}

.infinite-scroll .navigation {
  display: none;
}

/* =Mobile Navigation
-------------------------------------------------------------- */
#mobile-menu {
  background: #028e4a;
  display: none;
  padding: 5px 10px;
  border-bottom: 2px solid #e30e3c;
}
.single-format-gallery #mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
  min-height: 42px;
}

@media (max-width: 768px) {
  #mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 999;
    min-height: 42px;
  }
}

#mobile-menu .left-menu,
#mobile-menu .mobile-search {
  border-radius: 8px;
  width: 45px;
  height: 45px;
  margin: 0 0 0 5px;
  color: #fff;
  text-shadow: 1px 1px 1px #373737;
  font-size: 32px;
  line-height: 45px;
  color: #ffffff;
  background: #373737;
  text-align: center;
  padding: 0;
  position: absolute;
  top: 5px;
  left: 5px;
}

#mobile-menu .left-menu .material-icons,
#mobile-menu .mobile-search .material-icons {
  font-size: inherit;
  line-height: inherit;
}

#mobile-menu .left-menu.left-menu,
#mobile-menu .mobile-search.left-menu {
  margin: 0 5px 0 0;
}

#mobile-menu .left-menu:hover,
#mobile-menu .mobile-search:hover {
  background-color: #333;
}

#mobile-menu .mobile-search {
  left: auto;
  right: 5px;
}

#mobile-menu .mobile-title {
  color: #fff;
  text-shadow: 0px 0px 2px rgba(15, 99, 58, 0.89);
  font-family: 'Lucida Console', monospace;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 42px;
  text-align: center;
  display: block;
  padding: 1px 50px;
}

.material-icons.menu-closed {
  display: inline-block;
}

.material-icons.menu-open {
  display: none;
}

.left-menu-open .material-icons.menu-closed {
  display: none;
}

.left-menu-open .material-icons.menu-open {
  display: inline-block;
}


#drop-down-search {
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  display: none;
  padding: 14px;
  background: #fff;
  position: absolute;
  width: 100%;
  z-index: 10;
}

#drop-down-search .search-field {
  width: 100%;
}

#drop-down-search .search-submit {
  display: none;
}

#secondary {
  padding: 20px;
  float: left;
  width: 340px;
  position: relative;
}
.single-format-gallery #secondary {
    float: none;
    transition: left 0.25s ease-in-out;
    position: fixed;
    left: -300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 20px;
    width: 300px;
    height: calc(100vh - 70px);
    top: 70px;
}
.single-format-gallery.left-menu-open #secondary {
  left: 0;
}

@media (max-width: 768px) {
  #secondary {
    float: none;
    transition: left 0.25s ease-in-out;
    position: fixed;
    left: -300px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 20px;
    width: 300px;
    height: calc(100vh - 70px);
    top: 70px;
  }
  .left-menu-open #secondary {
    left: 0;
  }
}
#secondary.stickyMobile {
}
.single-format-gallery #secondary .header-wrap {
  display: none;
}

@media (max-width: 768px) {
  #secondary .header-wrap {
    display: none;
  }
}

/* =Main
-------------------------------------------------------------- */

#primary {
  width: 100%;
  max-width: 1620px;
  float: none;
  padding: 0 0 0 340px;
  margin: 0;
}

.home.blog #primary,
.search #primary,
.category #primary,
.tag #primary,
.date #primary {
  max-width: 100% !important;
  padding-top: 0;
}


@media (max-width: 640px) {
  #primary {
    padding: 0 10px !important;
  }
}

.single-format-gallery #primary {
  background-color: #fff;
  max-width: 100% !important;
  position: relative;
  transition: left 0.25s ease-in-out;
  left: 0;
  width: calc(100vw - 8px);
  padding: 25px 20px 0 20px;
}
.single-format-gallery.left-menu-open #primary {
  left: 300px;
}

@media (max-width: 768px) {
  #primary {
    position: relative;
    transition: left 0.25s ease-in-out;
    left: 0;
    width: calc(100vw - 8px);
    padding: 65px 20px 0 20px !important;
  }

  .single #primary,
  .page #primary {
    padding: 65px 0 0 !important;
  }

  .left-menu-open #primary {
    left: 300px;
  }

}


#boxes {
  /* visibility: hidden; */
}

/* =Article
-------------------------------------------------------------- */
article {
  /* box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2); */
  padding: 20px;
  float: left;
  width: 100%;
  text-shadow: none;
  border-top: 2px solid;
}

.single-format-gallery article {
  padding: 20px 10px;
  float: none;
}

@media (max-width: 768px) {
  article {
    padding: 20px 10px;
    float: none;
  }
}

article.sticky {
  border-top: 5px solid #e30f3c !important;
}

.basic article {
  border-top: none;
  background-color: #fff;
}

.basic article.grid-item {
  border-top: 1px solid #028e4a;
  background-color: #fff;
  margin: 0 0 20px;
  padding: 15px;
  position: relative;
  text-shadow: 0px 0px 1px #fdfdfd;
}

.basic .grid-item:hover {
  color: #000;
  text-shadow: 0px 0px 1px #fff;
}

.basic .grid-item h2 a:hover {
  color: #028e4a;
}

.basic article.grid-item.grid-item-adv {
  padding: 0;
  border-top: 1px solid #e30f3c;
  /* border: 0;
  background: transparent; */
}
.grid-item-adv a {
  display: block;
  width: 100%;
  height: 0px;
  background-size: contain;
  background-repeat: no-repeat;
}
.grid-item-skillfactory.skillfactory-frontend a {
  padding-bottom: 83.333%;
  background-image: url("/resources/skillfactory/frontend_300x250.jpg");
  background-size: calc(100% + 4px);
  background-position: -2px -2px;
}
@media (max-width: 860px) {
  article.grid-item-adv {
    padding: 0;
  }
  .grid-item-skillfactory.skillfactory-frontend a {
    padding-bottom: 52.333%;
    background-size: contain;
    background-position: 100% 50%;
    background-image: url("/resources/skillfactory/frontend_1200x628.jpg");
  }
}
/* ======= */
.entry-head {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
}

.basic article.grid-item .entry-head {
  margin: 16px 0;
}

.entry-meta a.entry-updated {
  border-bottom: 0;
}

.entry-title {
  margin: 32px 0;
  line-height: 1.1;
  font-size: 2em;
}

.basic .entry-title {
  font-family: 'PT Sans', sans-serif;
  font-weight: 400;
}

.basic article.grid-item .entry-title {
  font-size: 1.75em;
  margin: 0 0 20px;
}


.basic article.grid-item .excerpt {
  font-size: 1.5em;
}

@media screen and (min-width: 860px) {
  .basic article.grid-item .entry-title {
    font-size: 1.6em;
  }

  .basic article.grid-item .excerpt {
    font-size: 1.125em;
  }
}

.entry-title a {
  text-decoration: none;
}

.entry-meta {
  font-size: 13px;
  position: relative;
  line-height: 20px;
  color: #373737;
  text-align: right;
}

.basic .entry-meta {
  font-family: 'PT Sans', sans-serif;
  font-weight: 300;
}

.entry-meta a {
  text-decoration: none;
  color: #373737;
}

.entry-meta a:hover {
  color: #e30e3c;
}

.entry-meta .date-anchor {
  border: 0;
}

.post-category,
.post-format,
.page-title {
  font-size: 13px;
  margin: 0 20px 0 0;
  line-height: 20px;
  color: #373737;
}

.single-post .post-category,
.single-post .post-format,
.single-post .page-title,
.single-post .entry-meta {
  font-size: 16px;
}

.basic .post-category,
.basic .post-format,
.basic .page-title {
  font-family: 'PT Sans', sans-serif;
  font-weight: 300;
}

.format-link .post-format {
  margin-bottom: 5px;
}

.page-title {
  font-size: 100%;
  padding: 10px 0;
}

.post-category a {
  text-decoration: none;
  color: #373737;
}

.post-category a:hover {
  color: #e30e3c;
}

.entry-content {
  position: relative;
  width: 100%;
  font-size: 16px;
}

.grid-item .entry-content {
  font-size: 14px;
}

.entry-content a {
  border-bottom: 1px dotted;
  text-decoration: none;
}

.drop-caps .excerpt:first-letter {
  float: left;
  font-size: 75px;
  line-height: 60px;
  padding: 4px 8px 0 3px;
  font-family: Georgia, serif;
}

.entry-content .more-link,
.entry-content .button,
.entry-content #posts-pagination a,
.entry-content input[type="submit"],
.entry-content .comment-reply-link {
  border-radius: 4px;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  background: #888;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
  margin: 1em 0;
  line-height: 1.2;
  font-size: 12px;
  border: 0;
  word-break: break-word;
}

.entry-content .more-link:hover,
.entry-content .button:hover,
.entry-content #posts-pagination a:hover,
.entry-content input[type="submit"]:hover,
.entry-content .comment-reply-link:hover {
  background: #373737;
  color: #eee;
}

.more-link-p {
  clear: both;
}

.more-link-p .more-link {
  box-shadow: none;
  margin-bottom: 0;
}

footer.entry {
  padding-top: 30px;
}

.pullquote {
  font-size: 21px;
  color: #373737;
  font-weight: bold;
  line-height: 1.6125em;
  border: 0;
  padding: 0;
  margin: 1em 1.625em 1em 0;
  text-align: right;
  width: 33%;
  float: left;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}

.pullquote.alignright {
  margin: 1em 0 1em 1.625em;
  text-align: left;
  float: right;
}

@media (max-width: 480px) {
  .pullquote {
    width: 100%;
    margin: 0 0 .5em 0;
    float: none;
    text-align: left;
  }
}

@media (min-width: 769px) {
  .post-template-default article.post,
  .page-template-default article.page,
  .error404 article.post {
    min-height: 100vh;
  }
}
/* =404
-------------------------------------------------------------- */
.error404 .entry-title {
  font-size: 500%;
  text-align: center;
}

@media (max-width: 480px) {
  .error404 .entry-title {
    font-size: 400%;
  }
}

.error404 .entry-content {
  text-align: center;
  font-size: 200%;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .error404 .entry-content {
    font-size: 150%;
  }
}

/* =Aside
-------------------------------------------------------------- */
.format-aside p {
  margin-top: 0;
}

/* =Quote
-------------------------------------------------------------- */
.format-quote .entry-content {
  padding-left: 70px;
  font-style: italic;
}

.format-quote blockquote,
.format-quote blockquote p,
.format-quote .entry-content p {
  font-size: 36px;
  line-height: 1.2;
  margin: 0;
}

.format-quote i.quote {
  color: #ccc;
  display: block;
  font-size: 60px;
  position: relative;
  float: left;
}

.format-quote blockquote {
  border: 0;
  padding: 0;
  font-size: 18px;
}

.format-quote cite {
  font-size: 24px;
}

/* =Status
-------------------------------------------------------------- */
.format-status .post-category {
  margin-bottom: 10px;
}

.format-status .avatar {
  float: left;
  margin: 0 17px 0 0;
}

.format-status .author {
  font-size: 18px;
  margin: 0;
}

.format-status .entry-content {
  padding-left: 77px;
  clear: none;
  display: inherit;
}

.format-status .entry-content p {
  margin-top: 0;
}

.format-status time {
  font-size: 13px;
  color: #666;
  margin: 5px 0 10px;
  display: inline-block;
}

/* =Link
-------------------------------------------------------------- */
.format-link blockquote {
  margin-top: 0;
}

.format-link p {
  margin: 0;
}

.format-link footer.entry p {
  margin: 1em 0;
}

.format-link .entry-content a {
  font-size: 24px;
  border: 0;
}

/* =Gallery
-------------------------------------------------------------- */
.gallery {
  margin: 20px -20px;
}

.gallery>p {
  margin: 0;
  height: 0;
}

.gallery-item {
  margin-bottom: 20px;
  float: left;
  padding: 0 20px;
}

.gallery-item .gallery-icon img {
  width: 100%;
}

.gallery-item .gallery-caption {
  padding: 10px 0;
  color: #373737;
  clear: both;
  font-size: 12px;
  text-align: center;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
}

.gallery-columns-6 .gallery-item {
  width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  width: 11.11%;
}

@media (max-width: 480px) {
  .gallery .gallery-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* =Tags
-------------------------------------------------------------- */
.tags {
  font-size: 14px;
  margin-bottom: 0;
}

.tags span {
  margin-right: 5px;
}

.tags a {
  border-radius: 4px;
  background: #fff;
  padding: 2px 6px;
  border: 1px solid #e4e4e4;
  font-size: 90%;
  margin: 0 2px 5px 0;
  color: #373737;
  display: inline-block;
}

.tags a:hover {
  background: #fafafa;
}

/* =Pagination
-------------------------------------------------------------- */
#post-pagination {
  margin: 10px 0;
  width: 100%;
  float: left;
  overflow: hidden;
}

#post-pagination a,
#post-pagination .current-post-page {
  background: #fff;
  padding: 8px 16px;
  border: 1px solid #bbb;
  float: left;
  margin-right: 5px;
  text-decoration: none;
  text-shadow: none;
}

#post-pagination a:hover,
#post-pagination .current-post-page:hover {
  background: #373737;
  color: #eee;
  text-shadow: 1px 1px 0 #373737;
}

#posts-pagination {
  margin: 0;
  padding: 10px 10px 20px;
  width: 100%;
  float: left;
  overflow: hidden;
  background-color: #fff;
}

#posts-pagination .previous,
#posts-pagination .next {
  max-width: 48%;
}

#pages a {
  text-decoration: none;
  border-bottom: 1px dotted;
}

span.infinite-loader {
  border-radius: 10px;
  text-align: center;
  z-index: 100;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  background: #373737;
  color: #fff;
  opacity: 0.9;
  margin: -30px 0 0 -30px;
  line-height: 60px;
  padding-left: 13px;
}

/* =Comments
-------------------------------------------------------------- */
/*
#comments {
  float: left;
  width: 100%;
}

.comments-area {
  margin-top: 30px;
  clear: both;
  float: left;
  width: 100%;
}

.comments-area .commentlist,
.comments-area .children {
  list-style: none;
  padding: 0;
}

.commentlist {
  list-style: none;
  padding: 0;
}

.commentlist .comment,
.commentlist .pingback {
  padding-bottom: 10px;
}

.commentlist .comment .avatar {
  float: left;
}

.commentlist .comment .comment-author,
.commentlist .comment .comment-meta,
.commentlist .comment .comment-text {
  padding-left: 75px;
}

.commentlist .comment .comment-author {
  font-size: 20px;
}

.commentlist .comment .comment-meta {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.commentlist .comment .comment-reply-link {
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  color: #fff;
  margin: 0;
  background: #bbb;
  text-shadow: none;
}

.commentlist .comment .comment-reply-link:hover {
  background: #aaa;
}

.commentlist .children {
  margin: 20px 0 0;
  padding-left: 10px;
  list-style: none;
}

.commentlist .children>.comment {
  padding-left: 23px !important;
}

.commentlist .children .comment {
  border-left: 1px solid #ccc;
  position: relative;
}

.commentlist .children .comment:before {
  width: 12px;
  height: 12px;
  display: block;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ccc;
  position: absolute;
  top: 30px;
  left: -7px;
  content: "";
  z-index: 60;
}

.commentlist .children .comment:after {
  width: 100px;
  height: 1px;
  border-top: 1px solid #ccc;
  display: block;
  position: absolute;
  top: 36px;
  left: -5px;
  content: "";
  z-index: 50;
}

.commentlist .comment-body {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  padding: 20px;
  background: #fff;
  display: block;
  z-index: 100;
  position: relative;
}

.commentlist .bypostauthor>.comment-body {
  border: 10px solid #aaa;
}

.commentlist pre {
  background: #fff;
  border-color: #e6e6e6;
}

#cancel-comment-reply-link {
  font-size: 14px;
  font-weight: normal;
  float: right;
}

#comment-nav-above,
#comment-nav-below {
  margin: 10px 0;
  overflow: hidden;
}

#comment-nav-above .nav-previous,
#comment-nav-above .nav-next,
#comment-nav-below .nav-previous,
#comment-nav-below .nav-next {
  display: inline-block;
  width: 50%;
  float: left;
}

#comment-nav-above .nav-next,
#comment-nav-below .nav-next {
  text-align: right;
}
*/
/* =Archives
-------------------------------------------------------------- */
#archive-header {
  padding-bottom: 10px;
  text-align: right;
  margin: 5px 40px 5px 0;
}
.page-title {
  border-bottom: 1px solid rgba(85, 85, 85, 0.15);
  padding-bottom: 10px;
  text-align: right;
  margin: 5px 40px 25px 0;
}

@media (max-width: 1150px) {

  #archive-header,
  .page-title {
    margin-right: 10px;
  }
}

.single-format-gallery #archive-header,
.single-format-gallery .page-title {
  margin-right: 0;
}

@media (max-width: 768px) {

  #archive-header,
  .page-title {
    margin-right: 0;
  }
}


#archive-header h1 {
  box-shadow: none;
  margin: 0;
  padding: 0;
  border: 0;
}

h2.archive-meta {
  font-size: 13px;
  color: #373737;
  padding-bottom: 10px;
  margin: 0;
  font-weight: 300;
}

h2.archive-meta p {
  margin: 0;
}

/* =Sidebar
-------------------------------------------------------------- */
.widget_block {
  max-width: 220px;
  margin: 0 auto;
}
.ai_widget {
  max-width: 240px;
  height: 400px;
  margin: 0 auto;
}
.widget {
  margin-top: 48px;
  margin-bottom: 48px;
  width: 100%;
  font-size: 90%;
}

.widget .widget-title, .widget.widget_block h3 {
  /* box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); */
  /* border-bottom: solid 1px #028e4a; */
  font-size: 110%;
  font-weight: 400;
  text-transform: none;
  margin: 0 0 15px;
  line-height: 1;
  padding: 0 0 10px;
}

/* =Footer
-------------------------------------------------------------- */
#footer {
  border-top: 3px double #373737;
  font-size: 13px;
  box-sizing: content-box;
}

#footer #footer-content {
  background: #373737;
  color: #fff;
  line-height: 40px;
}


.single-format-gallery.left-menu-open #footer {
  left: 300px;
}

@media (max-width: 768px) {
  #footer {
    position: relative;
    transition: left 0.25s ease-in-out;
    left: 0;
    width: calc(100vw - 8px);
  }
  .left-menu-open #footer {
    left: 300px;
  }

  #footer #footer-content {
    line-height: 32px;
  }

  #footer #footer-content span {
    display: block;
    float: none;
    text-align: center;
  }
}

#footer .row {
  margin-bottom: 0;
}

#footer a {
  color: #fff;
  border-bottom: 1px dotted;
  text-decoration: none;
}

#footer a:hover {
  color: #0ed077;
}

#footer .fr {
  position: relative;
}

#footer .credit-link {
  position: relative;
  margin-left: 20px;
}

#footer .credit-link .material-icons {
  width: 32px;
  height: 32px;
  margin: 0 15px;
}

#footer .credit-link .material-icons img {
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  #footer .copyright {
    margin-bottom: 10px;
  }
}


/* =Sticky Footer
-------------------------------------------------------------- */
html,
body {
  height: 100%;
}

#page {
  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto -65px;
}

.home,
.archive {
  /*
  background-color: #fff;
  */
}

#page {
  /*
  background-color: #fafafa;
  box-shadow: -1400px 0 0 #fafafa;
  */
}

.home #page,
.archive #page,
.single-format-gallery #page {
  max-width: 100%;
}

@media (max-width: 768px) {
  #page {
    margin-bottom: 0;
  }
}

#main {
  padding-bottom: 65px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  #main {
    padding-top: 0;
    padding-bottom: 0;
  }
}

#footer {
  height: 65px;
}

@media (max-width: 768px) {
  #footer {
    height: auto;
  }
}

/* =bbPress
-------------------------------------------------------------- */
#bbpress-forums .avatar {
  box-sizing: content-box;
}

.entry-content #bbpress-forums .bbp-author-name {
  border: 0;
}

#bbpress-forums .wp-editor-container {
  border: 1px solid #ddd;
}

.bbp-author-avatar {
  display: inline-block;
}

.bbp-author-avatar img {
  margin-bottom: 0 !important;
}

.alert {
  font-size: 12px;
  line-height: 1.4;
  font-weight: normal;
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  color: #c09853;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  border-radius: 4px;
}

.alert h4 {
  font-size: 16px;
  color: inherit;
  font-family: inherit;
}

.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 20px;
}

.alert-success {
  color: #028e4a;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-danger,
.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.alert-info {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}

.alert-block>p,
.alert-block>ul {
  margin-bottom: 0;
}

.alert-block p+p {
  margin-top: 5px;
}

.alert p,
.alert h4 {
  margin: 0;
}

.alert a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted;
}

.alert a:hover {
  color: inherit;
}

.alert code {
  padding-bottom: 2px;
  background: #f6f6f6;
  border-color: #e6e6e6;
  font-size: 11px;
}

.entry-content .bbp-pagination-links a,
.entry-content .bbp-pagination-links span.current {
  border: 1px solid #efefef;
}

.buddypress .item-list-tabs a {
  border: 0;
}

.buddypress .generic-button a {
  display: block;
}

#buddypress ul.item-list li div.item-title,
#buddypress ul.item-list li h4 {
  font-size: 100%;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 20px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 20px 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: #f2f2f2;
  border: 1px solid #e6e6e6;
  max-width: 100%;
  padding: 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: 100%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 12px;
  margin: 0;
  padding: 10px 0 0;
}

input[type="submit"].wpcf7-submit {
  background-color: #028e4a;
  color: #fff;
  cursor: pointer;
  float: right;
}

input[type="submit"].wpcf7-submit:hover {
  background-color: #cc0b34;
  color: #fff;
}

.cn-button.bootstrap,
.cn-button.bootstrap:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* сетка */
#boxes.m-grid {
  margin: 0 auto;
  max-width: 100%;
  min-width: 100%;
  width: 100%;
}

.grid-sizer,
.grid-item {
  width: 100%;
  float: none;
}

.gutter-sizer {
  width: 0;
}

@media screen and (min-width: 860px) {

  .grid-sizer,
  .grid-item {
    width: 48.5%;
  }

  .gutter-sizer {
    width: 1%;
  }
}

@media screen and (min-width: 1150px) {

  .grid-sizer,
  .grid-item {
    width: 31%;
  }
}

@media screen and (min-width: 1366px) {

  .grid-sizer,
  .grid-item {
    width: 23.5%;
  }
}

@media screen and (min-width: 1600px) {

  .grid-sizer,
  .grid-item {
    width: 18.5%;
  }
}

.grecaptcha-badge {
  visibility: hidden;
}

.post .addtoany_content_bottom {
  width: 97%;
  margin: 30px 0 0;
  text-align: center;
}

@media screen and (min-width: 1280px) {
  .post .addtoany_content_bottom {
    display: none;
  }
}

.edit-link {
  float: right;
}

.entry-head .post-ratings {
  margin: 0px 0 6px 0;
  text-align: right;
  font-size: 12px;
  line-height: 12px;
  width: 100%;
  position: absolute;
  right: 5px;
  bottom: 100%;
  z-index: 1;
  white-space: nowrap;
}

.single-post .entry-head .post-ratings {
  right: 10px;
  margin: 0px 0 12px 0;
}


.post-ratings-text {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  color: #373737;
}

.post-ratings img,
.post-ratings-loading img,
.post-ratings-image img {
  vertical-align: top;
  margin: 0 2px;
}

.single-post .post-ratings img,
.single-post .post-ratings-loading img,
.single-post .post-ratings-image img {
  width: 16px;
  height: 16px;
  margin: 0 2px;
}


.post-ratings-loading {
  position: absolute;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  color: #373737;
  font-size: 12px;
  margin-top: -1.4em;
}

.home .a2a_floating_style {
  display: none;
}


.wpcf7-form input[type=text],
.wpcf7-form input[type=email] {
  width: 100%;
}

.wpcf7-form input[type=submit] {
  width: 100%;
  font-size: 20px;
}

.original-link {
  text-align: right;
}
.original-link::before {
  content: 'См также: ';
}


/* search */
.post-11374 .entry-title {
  margin: 10px 0;
}

.primary_search {
  /*
  background-color: #fafafa;
  box-shadow: 480px 0 0px #fafafa;
  */
  padding: 20px 20px 20px 0;
}

.primary_search>div {
  max-width: 768px;
  margin: 0 auto 0 0;
}


.single-format-gallery .page .primary_search {
  padding: 20px 10px;
}

@media (max-width: 768px) {
  .primary_search {
    padding: 20px 0;
  }

  .single .primary_search,
  .page .primary_search {
    padding: 20px 10px;
  }
}

.basic form.gsc-search-box,
.basic table.gsc-search-box {
  margin: 0;
  background-color: transparent;
}

table.gsc-search-box td,
table.gsc-search-box th,
table.gsc-above-wrapper-area-container td,
table.gsc-above-wrapper-area-container th {
  border: 0;
  padding: 0;
}

table.gsc-search-box td.gsib_a {
  padding-left: 10px;
}

.basic a.gsst_a,
.basic .gsst_b {
  border: 0;
  line-height: 12px;
}

.basic .gsst_a .gscb_a {
  color: #bbbbbb;
}

.basic input.gsc-input {
  min-height: 36px;
  box-shadow: none;
}

.basic .gsc-input-box {
  padding: 0;
  border-radius: 0;
}

.basic .cse .gsc-search-button-v2,
.basic .gsc-search-button-v2 {
  padding: 5px 16px 6px 16px;
  margin-top: 0;
}

.basic .gsc-search-button-v2 svg {
  height: auto;
  width: 25px;
}

.basic .cse .gsc-control-cse,
.basic .gsc-control-cse {
  padding: 0;
}

.basic .gsc-above-wrapper-area {
  border: 0;
}

.basic .gs-result .gs-title,
.basic .gs-result .gs-title * {
  text-decoration: none;
  font-size: 18px;
}

.basic .gs-visibleUrl {
  font-size: 12px;
}

.basic .gsc-table-cell-thumbnail,
.basic .gs-promotion-image-cell {
  padding: 0;
}

.basic .gs-web-image-box,
.basic .gs-promotion-image-box {
  padding: 6px 72px 0 0px;
}

.basic .gsc-webResult .gsc-result {
  border: 0;
  margin-bottom: 20px;
}

.basic .gsc-control-cse,
.basic .gsc-control-cse .gsc-table-result {
  font-size: 16px;
  font-family: 'PT Sans', sans-serif;
}

.basic .cse .gsc-webResult.gsc-result:hover,
.basic .gsc-webResult.gsc-result:hover,
.basic .gsc-webResult.gsc-result.gsc-promotion:hover,
.basic .gsc-results .gsc-imageResult-classic:hover,
.basic .gsc-results .gsc-imageResult-column:hover {
  border: 0;
  margin-left: -21px;
  padding-left: 21px;
  /*
  box-shadow: 480px 0 0px #fafafa;
  */
}

.basic .gs-web-image-box a,
.basic .gs-promotion-image-box a {
  border: 0;
  opacity: 0.75;
  transition: opacity 150ms ease-in-out;
}

.basic .cse .gsc-webResult.gsc-result:hover a,
.basic .gsc-webResult.gsc-result:hover a,
.basic .gsc-webResult.gsc-result.gsc-promotion:hover a,
.basic .gsc-results .gsc-imageResult-classic:hover a,
.basic .gsc-results .gsc-imageResult-column:hover a {
  opacity: 1;
}

#cookie-notice a,
#cookie-notice a:hover,
#cookie-notice a:visited {
  color: #fff;
}

.google-auto-placed {
  margin: 1.6em 0;
}


#sidebar-one {
  margin: 0 -20px;
}
#sidebar-one.sticky {
  position: fixed;
}
#sidebar-one .custom-html-widget {
  display: flex;
  justify-content: center;
}

#header {
  max-width: 220px;
  margin: 0 auto;
}

/*
*/
.header-top {
  padding-bottom: 20px;
  margin: 0 40px 0 0;
  width: calc(100% - 40px);
  overflow-x: hidden;
  /*
  box-shadow: 480px 0 0 #fafafa;
  */
}

@media (max-width: 1150px) {
  .header-top {
    margin: 0 10px;
    width: calc(100% - 10px);
  }
}

@media (max-width: 768px) {
  .header-top {}
}

.header-top:empty {
  margin-bottom: 0;
}

.in-text {
  display: flex;
  padding-left: 0px;
  padding-right: 0px;
}
.in-text ins {
  border-bottom: 0;
}

.main-bottom {
  padding: 10px 0 10px 340px;
  width: 100%;
  text-align: center;
  display: flex;
}

.main-bottom ins,
.header-top > ins {
  border-bottom: 0;
}
.header-top > ins,
.main-bottom-ins,
.in-text-ins {
  text-align: center;
  display: block;
  min-width: 320px;
  max-width: 768px;
  width: 100%;
  margin: auto;
  height: 90px;
}
@media (max-width: 480px) {
  .main-bottom {
    padding-left: 0px;
    padding-right: 0px;
  }
  .header-top > ins,
  .main-bottom-ins,
  .in-text-ins {
  height: 60px;
  }
}

@media (max-width: 640px) {
  .main-bottom {
    padding-left: 10px;
    padding-right: 10px;
  }
  .header-top > ins,
  .main-bottom-ins,
  .in-text-ins {
    height: 60px;
  }
}

.single-format-gallery .main-bottom {
  left: 0;
  width: calc(100vw - 8px);
  position: relative;
  transition: left 0.25s ease-in-out;
  padding-left: 20px;
  padding-right: 20px;
}
.single-format-gallery.left-menu-open .main-bottom {
  left: 300px;
}

@media (max-width: 768px) {
  .main-bottom {
    left: 0;
    width: calc(100vw - 8px);
    position: relative;
    transition: left 0.25s ease-in-out;
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-top > ins,
  .main-bottom-ins,
  .in-text-ins {
    height: 90px;
  }
  .left-menu-open .main-bottom {
    left: 300px;
  }
}


.x-xhtml-embed iframe+span {
  display: none;
}

.post.has-post-thumbnail img.alignleft {
  display: block;
  float: none;
  margin: 10px auto;
}

.widget_yarpp_widget,
.sidebar_social_links {
  padding: 32px 0;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  font-weight: 400;
}
.yarpp-related-none.widget_yarpp_widget {
  display: none;
}
.yarpp-related.widget_yarpp_widget .yarpp-thumbnail-title {
  font-size: inherit;
  line-height: 1.2em;
  font-weight: inherit;
  max-height: none;
  overflow: visible;
  width: auto;
}
.yarpp-related.widget_yarpp_widget .image-anchor > img,
.yarpp-related.widget_yarpp_widget .image-anchor .yarpp-thumbnail-default {
  margin: 16px auto;
  width: 150px;
  height: 150px;
  display: block;
}

.yarpp-related.widget_yarpp_widget a,
.yarpp-related.widget_yarpp_widget a:link {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  color: #000;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 200ms, transform 300ms;
}

.yarpp-related.widget_yarpp_widget a:hover {
  color: #373737;
  opacity: 1;
  transform: scale(1.05);
}

.yarpp-related.widget_yarpp_widget a:visited {
  color: #222;
}

.quads-location,
.main-bottom.quads-location {
  padding-top: 32px;
  padding-bottom: 32px;
  position: relative;
}
.quads-location::before,
.quads-location::after {
  content: '<!-- xhtml.ru -->';
  white-space: nowrap;
  position: absolute;
  font-size: 10px;
  font-family: "Lucida Console", monospace;
  color: rgba(0, 0, 0, 0.15);
  right: 0;
  top: 6px;
}
.quads-location::after {
  content: '<!--  /xhtml.ru -->';
  top: auto;
  bottom: 6px;
}

.quads-location ins {
  color: #373737;
  border: none;
}



/*
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
*/
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #373737;
}

.hljs-doctag,
.hljs-comment,
.hljs-quote,
.hljs-variable {
  color: rgba(0, 0, 0, 0.4) !important;
}

.hljs-keyword {
  color: #977800 !important;
}
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
  color: #2a7452 !important;
}

.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
  color: #09659c !important;
}

.hljs-params {
  color: #8d1c00 !important;
}

.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
  color: #2b91af !important;
}

.hljs-attr {
  color: #e30e3c !important;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #00b0e8 !important;
}


.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

.sidebar_social_links {
  width: 100%;
  text-align: center;
  margin: 0.5em 0;
  padding: 1em 0;
}
.sidebar_social_links span {
  display: block;
  font-size: 12px;
  padding-top: 10px;
  margin-bottom: -10px;
}
.sidebar_social_links a {
  width: 40px;
  height: 40px;
  margin: 0 15px;
}

.sidebar_social_links img {
  width: 100%;
  height: 100%;
}

