/*
Theme Name: Homo-Adminus Theme 2.0
Theme URI: https://kovyrin.net/
Version: 2.0.1
Author: Tetyana Kovyrina
Author URI: http://kovyrina.info/

	Homo-Adminus Theme
	http://kovyrina.info/

	This theme was designed by Tetyana Kovyrina and
	and built by Oleksiy Kovyrin
*/

.twitlight,
.twitlight .codecolorer {
  background-color: #2b2b2b !important;
}

div {
  display: block;
}

code {
  word-wrap: break-word;
}

.wp-block-quote {
  border-left: 4px solid #aaa;
  padding-left: 1em;
  margin-left: 10px;
}

.wp-block-quote cite {
  font-size: 0.8em;
  font-style: italic;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  color: #333;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */
}

a {
  color: #7398a3;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #ff7f00;
}

header {
  padding: 0;
  margin: 0;
  list-style: none;
}

hr {
  height: 1px;
  border-width: 0;
  background-color: #b3cacc;
}

#container {
  width: 100%;
}

#header {
  width: 100%;
  display: block;
  border-top: 9px solid black;
  border-bottom: 12px solid #81a9b4;
  height: 346px;
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fbg_board.jpg) repeat-x;
}

#header_container {
  width: 1114px;
  margin: auto;
}

#robot {
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Frobot.png) no-repeat;
  width: 260px;
  height: 236px;
  float: left;
}

#header_content {
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fgirl_robot.png) no-repeat;
  background-position: right 24px;
  float: right;
  text-align: right;
}

#main_menu {
  margin-top: 2px;
}

#main_menu a {
  font: 25px "Annie Use Your Telescope";
  color: #bbbbbb;
  text-decoration: none;
  margin-left: 40px;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#main_menu a:hover {
  color: #80a9b5;
}

h1 {
  font: 59px "Kranky";
  color: #f8f3ec;
  opacity: 1;
  margin-left: 18px;
  margin-top: 30px;
  font-weight: normal;
  padding: 0;
}

h1 span {
  color: #7fa9b2;
}

#header_content h2 {
  color: #ff7f14;
  font: 33px "Annie Use Your Telescope";
  margin: 20px 108px 0 0;
  font-weight: normal;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#search {
  background-color: #282627;
  border: 1px solid black;
  border-radius: 7px;
  font-size: 20px;
  color: #b7b6b7;
  margin: 0;
  height: 33px;
  width: 328px;
  padding-left: 10px;
  padding-right: 35px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#search:focus {
  background-color: black;
  color: #eeeeee;
  outline: 0;
}

#search:hover::-webkit-input-placeholder {
  color: #eeeeee;
}

#search:hover:-moz-placeholder {
  color: #eeeeee;
}

#search:hover:-ms-input-placeholder {
  /* IE10+ */
  color: #eeeeee;
}

.submit_ico {
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fico_search.png) no-repeat;
  height: 18px;
  width: 20px;
  border: none;
  overflow: hidden;
  position: absolute;
  left: 345px;
  top: 10px;
  z-index: 10000;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.submit_ico:hover {
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fico_search.png) no-repeat;
  background-position: -20px 0;
}

.submit_ico:active,
.submit_ico:visited {
  outline: 0;
}

.search_box {
  float: right;
  width: 373px;
  display: block;
  position: relative;
  margin: 30px 10px 0 0;
}

#main {
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fbg_main.jpg) repeat;
}

.post {
  margin: auto;
  width: 1114px;
  padding-top: 65px;
}

.page_content {
  margin: auto;
  width: 810px;
  border-top: 3px solid #b3cacc;
  margin-top: 10px;
}

.left_section {
  height: 212px;
  width: 269px;
  float: left;
  text-align: right;
  margin-top: 10px;
  margin-right: 11px;
  padding-right: 19px;
  font-size: 13px;
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fv_line.gif) no-repeat;
  background-position: top right;
}

.left_section ul {
  margin: -5px 0 0 0;
  padding: 0;
  list-style: none;
}

.posted {
  margin: 0 0 7px 0;
  padding: 0;
}

.right_section {
  float: right;
  width: 810px;
  border-top: 3px solid #b3cacc;
  margin-top: 10px;
  padding-left: 5px;
}

.right_section {
  line-height: 160%;
}

.post header {
  font-size: 30px;
  margin: 0 0 0 300px;
  padding: 0;
}

.page_title {
  display: block;
  margin: auto !important;
  width: 810px;
}

.post header a {
  color: #2c2c2c;
  -webkit-transition-delay: 0s;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-property: all;
  -webkit-transition-timing-function: ease-in-out;
}

.post header a:hover {
  color: #ff7f00;
}

.date {
  margin-right: 80px;
  margin-top: 20px;
  color: #bbb;
  font-size: 34px;
  line-height: 40px;
  font-weight: bold;
  -moz-transform: rotate(270deg);
  -moz-transform-origin: top right;
  -webkit-transform: rotate(270deg);
  -webkit-transform-origin: top right;
  -o-transform: rotate(270deg);
  -webkit-transform-origin: top right;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

.date span {
  display: block;
}

.more-link {
  color: #ff7f00;
  text-align: right;
  display: block;
}

.more-link:hover {
  color: #777777;
}

.more-link span {
  vertical-align: middle;
}

.paginator {
  width: 480px;
  height: 167px;
  margin: auto;
  margin-top: 30px;
}

.paginator ul {
  padding: 0;
  margin: 0 0 0 200px;
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fspring.gif) no-repeat;
  background-position: bottom center;
  height: 167px;
}

.paginator ul li {
  padding: 8px 0 0 16px;
  margin: 5px 0 0 0;
  list-style: none;
  font-size: 15px;
  display: block;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-bottom: 3px solid #cccccc;
  border-right: 3px solid #cccccc;
  background-color: white;
  width: 112px;
  height: 28px;
  color: #dddddd;
}

.old_post {
  float: left;
}

.old_post:hover {
  -moz-transform: rotate(-5deg);
  -moz-transform-origin: center;
  -webkit-transform: rotate(-5deg);
  -webkit-transform-origin: center;
  -o-transform: rotate(-5deg);
  -webkit-transform-origin: center;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

.new_post:hover {
  -moz-transform: rotate(5deg);
  -moz-transform-origin: center;
  -webkit-transform: rotate(5deg);
  -webkit-transform-origin: center;
  -o-transform: rotate(5deg);
  -webkit-transform-origin: center;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

.new_post {
  float: right;
}

#bottom_nav {
  border-top: 3px solid #dddddd;
  height: 366px;
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fsquare.gif) repeat;
}

#wrap-nav {
  width: 1114px;
  background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fcup.png) no-repeat;
  background-position: bottom right;
  margin: 0 auto;
  height: 366px;
}

.column {
  float: left;
  margin-right: 90px;
  font-size: 15px;
  color: #aaaaaa;
}

.column_last {
  float: left;
  font-size: 15px;
  color: #aaaaaa;
}

.column a,
.column_last a {
  color: #666;
}

.column ul li,
.column_last ul li {
  padding: 3px 0 0 0;
  margin: 0;
  list-style: none;
}

.column ul,
.column_last ul {
  padding: 0;
  margin: 0;
}

.column a:hover,
.column_last a:hover {
  background-color: white;
  color: #333;
}

.column header,
.column_last header {
  font: 22px "Kranky";
  color: black;
  margin: 28px 0 30px 0;
}

.social {
  width: 989px;
  text-align: right;
  overflow: hidden;
  position: absolute;
  padding-right: 105px;
  margin-top: 285px;
}

.social header {
  color: #eeeeee;
  font: 22px "Kranky";
  margin-bottom: 12px;
  margin-right: 35px;
}

.social ul {
  margin: 0;
  padding: 0;
}

.social ul li {
  padding: 0;
  float: right;
  margin: 0 25px 0 0;
  list-style: none;
}

.social a {
  opacity: 0.6;
  -webkit-transition-delay: 0s;
  -webkit-transition-duration: 0.2s;
  -webkit-transition-property: all;
  -webkit-transition-timing-function: ease-in-out;
}

.social a:hover {
  opacity: 1;
}

.social img:hover {
  -moz-transform: rotate(5deg);
  -moz-transform-origin: center;
  -webkit-transform: rotate(5deg);
  -webkit-transform-origin: center;
  -o-transform: rotate(5deg);
  -webkit-transform-origin: center;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
}

#footer {
  background-color: #353535;
  color: #999999;
  font-size: 13px;

  padding-top: 20px;
  padding-bottom: 20px;
}
.copyright {
  margin: auto;
  width: 1114px;
  text-align: left;
  line-height: 150%;
}

.copyright span {
  white-space: nowrap;
}

.clear {
  clear: both;
  margin: 0;
  padding: 0;
  visibility: hidden;
  width: 0;
  height: 0;
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.search_result {
  width: 1114px;
  margin: auto;
}

.search_result div {
  width: 280px;
  color: white;
  font-size: 23px;
  background-color: #80a9b5;
  text-align: center;
}

/*  CSS for serving a devices with width from 1120px to 967px */
@media screen and (max-width: 1120px) {
  #header_container {
    width: 99%;
    margin: auto;
  }

  .post {
    width: 99%;
  }

  .left_section {
    width: 20%;
  }
  .right_section {
    width: 76%;
  }

  .post header {
    margin-left: 21%;
  }

  .copyright {
    width: 99%;
  }

  #wrap-nav {
    width: 98%;
    margin-left: 10px;
  }

  .column {
    margin-right: 60px;
  }

  .social {
    width: 98%;
    padding-right: 0;
    right: 120px;
  }

  .search_result {
    width: 100%;
  }

  .page_title,
  .page_content {
    width: 100%;
  }
}

@media screen and (max-width: 967px) {
  #robot {
    display: none;
  }

  #header_content {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fgirl_robot_900.png) no-repeat;
    background-position: center 41px !important;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .search_box {
    float: none;
    width: 373px;
    display: block;
    position: relative;
    margin: 30px auto;
  }

  h1 {
    margin-left: 0;
    padding-left: 20px;
  }

  #main {
    padding: 0 10px 0 10px;
  }
  .post {
    margin: auto;
    width: 99%;
  }

  .left_section {
    float: none;
    width: 100%;
    height: auto;
    border-top: 1px solid #b1cacc;
    border-bottom: 1px solid #b1cacc;
    padding-right: 0px !important;
    text-align: left;
    background: none;
  }

  .left_section ul {
    margin-top: 0;
    margin-left: 130px;
    padding: 10px 0 10px 0;
  }

  .posted {
    margin-bottom: 7px;
  }

  .right_section {
    float: none;
    width: 100%;
    border-top: none;
    padding-left: 0;
    margin-left: 0;
  }

  .post header {
    font-size: 26px;
    margin: 0;
  }

  .date {
    margin-right: 0;
    margin-top: -45px;
    color: #7fa9b6;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    -moz-transform: none;
    -moz-transform-origin: 0;
    -webkit-transform: none;
    -webkit-transform-origin: 0;
    -o-transform: none;
    -webkit-transform-origin: 0;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
  }
  .date span {
    display: inline;
    margin-left: 5px;
  }

  .paginator ul {
    width: 280px;
    margin: 0 auto;
  }

  #bottom_nav {
    height: 386px;
  }

  #wrap-nav {
    height: 386px;
  }

  .social {
    width: 98%;
    margin-top: 295px;
    right: 120px;
  }

  .post {
    padding-top: 50px;
  }
}

@media screen and (max-width: 640px) {
  #header {
    height: auto;
  }

  #header_content {
    background-image: none !important;
  }

  #main_menu {
    text-align: center;
  }

  #main_menu a {
    font: 21px "Annie Use Your Telescope";
    color: #bbbbbb;
    text-decoration: none;
    margin-left: 18px;
    font-weight: bold;
  }

  h1 {
    font: 40px "Kranky";
    color: #f8f3ec;
    margin: 30px 0 0 0;
    font-weight: normal;
    padding: 0;
  }

  h1 span {
    color: #7fa9b2;
  }

  #header_content h2 {
    display: none;
  }

  #search {
    width: 205px;
    font-size: 15px;
    padding-right: 30px;
  }

  .search_box {
    width: 240px;
    margin: 10px auto;
  }

  .submit_ico {
    left: 220px;
  }

  .post header {
    font-size: 20px;
  }

  body {
    font: 15px "Open Sans", sans-serif;
  }

  .post {
    padding-top: 30px;
  }

  .tags {
    display: none;
  }

  .date {
    margin-top: -40px;
    font-size: 16px;
    margin-right: 0;
  }

  .left_section ul {
    margin: 0 0 0 120px;
  }

  .left_section {
    padding: 0;
    margin: 10px 0 0 0;
  }

  .posted {
    margin-bottom: 0;
  }

  .paginator ul {
    background-image: none !important;
  }

  .paginator {
    width: 100%;
    height: 80px;
    margin-top: 30px;
  }

  .social {
    display: block;
    position: inherit;
    width: 100%;
    background-color: #7398a3;
    height: 55px;
    padding-top: 25px;
  }

  .social header {
    float: left;
    margin: 0;
    padding-left: 10px;
  }

  .social ul {
    float: left;
    padding-left: 15px;
  }

  .social ul li {
    margin-right: 20px;
  }

  #bottom_nav {
    height: auto;
  }

  #wrap-nav {
    background-image: none !important;
    height: auto;
    margin-left: 0;
    width: 100%;
  }

  .column_last {
    display: none;
  }

  .column {
    width: 40%;
    margin-left: 20px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .search_result div {
    margin: auto;
  }
}

/*CSS for serving the retina image to devices with a high "device-pixel-ratio":*/
@media only screen and (-moz-min-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3/2),
  only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (min-devicepixel-ratio: 1.5),
  only screen and (min-resolution: 1.5dppx) {
  #main_menu a {
    font-weight: normal;
  }

  #robot {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Frobot%402x.png) no-repeat;
    background-size: 260px 236px;
  }

  #header {
    height: auto;
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fbg_board%402x.jpg);
    background-size: 939px 346px;
    font-weight: 200;
  }

  h2,
  #search,
  h1 {
    opacity: 0.9;
  }

  #main {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fbg_main.jpg) repeat;
    background-size: 95px 95px;
  }

  #header_content {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fgirl_robot%402x.png) no-repeat;
    background-size: 562px 245px;
    background-position: right 15px;
  }

  @media screen and (max-width: 967px) {
    #header_content {
      background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fgirl_robot_900%402x.png) no-repeat;
      background-position: center 41px !important;
      background-size: 562px 245px;
      text-align: center;
      margin: 0 auto;
      width: 100%;
    }
  }

  .submit_ico {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fico_search%402x.png) no-repeat;
    background-size: 40px 18px;
  }

  .submit_ico:hover {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fico_search%402x.png) no-repeat;
    background-size: 40px 18px;
  }

  #wrap-nav {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fcup%402x.png) no-repeat;
    background-size: 387px 163px;
    background-position: bottom right;
  }

  .paginator ul {
    background: url(/asset?u=https%3A%2F%2Fkovyrin.net%2Fwp-content%2Fthemes%2Fkovyrin-2.0%2Fimages%2Fspring%402x.gif) no-repeat;
    background-size: 161px 131px;
    background-position: bottom center;
  }
}
