body {
  max-width: 1340px;
  margin: auto;
  font-family: 'Roboto', sans-serif;
  line-height: 1.4;
  color: #222;
  background: #fff;
}
a,
a h2 {
  color: #375cd4;
  border-bottom: 1px solid rgba(55,92,212,0.3);
  cursor: pointer;
  text-decoration: none;
}
a:hover,
a h2:hover {
  color: #d4375c;
  border-bottom: 1px solid rgba(212,55,92,0.3);
}

h1,h2,h3,h4,h5 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: normal;
  color: #222;
  clear: both;
}
h2 { margin-top: 1.5em; }
hr {
  height:1px; /* высота 1px IE, Firefox, Opera, Safari */
  margin: 20px 0;
  clear:both;
  background-color:#999; /*для Firefox, Opera, Safari*/
  border:0px none;
  color: #999; /*для IE */
}

.col {
  float: left;
  box-sizing: border-box;
}

.video {
  position:relative;
  height:0;
  padding-bottom:56.25%;
  padding-top:30px;
  overflow:hidden;
  clear: both;
  border:1px solid rgba(51,0,153,.25);
}
.video iframe,
.video object,
.video embed {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
input,
textarea {
  height: 30px;
  margin-bottom: 5px;
  padding: 0 5px;
  border: 1px solid #888989;
  box-sizing: border-box;
}
::-webkit-input-placeholder {font-size: 90%; color:#555; transition: opacity 0.9s ease;}
::-moz-placeholder          {font-size: 90%; color:#555; transition: opacity 0.9s ease;} /* Firefox 19+ */
:-moz-placeholder           {font-size: 90%; color:#555; transition: opacity 0.9s ease;} /* Firefox 18- */
:-ms-input-placeholder      {font-size: 90%; color:#555; transition: opacity 0.9s ease;}

:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.9s ease;}
:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.9s ease;}
:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.9s ease;}
:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.9s ease;}

/* ------------------------------------------------------------------------------------------------------------------------------------ */


.wrap {
  width: 70%;
  padding: 20px 20px 20px 5px;
}
.header {
  width: 100%;
  padding: 5px 0 20px 0;
  border-bottom: 1px solid rgba(55,92,212,0.3);
  text-align: right;
}
.header a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(55,92,212,0.3);
  border-radius: 2px;
}
.header a:hover {
  border-color: rgba(212,55,92,0.3);
}
.spoiler {
  height: 0px;
  overflow: hidden;
}
.on {
  height: auto;
}
.ancor {
  text-decoration: none;
  border-bottom: 1px dashed;
}
.ancor:hover {
  border-bottom: 1px dashed;
}
.content img {
  max-width: 100%;
}
.date {
  margin-top: 30px;
  margin-bottom: -15px;
  font-size: 84%;
}
.date:first-of-type {
  margin-top: 5px;
}

.mailform label {
  display: none;
  width: 10rem;
  padding-right: 5px;
  text-align: right;
}
.mailform input {
  width: 20rem;
}
.mailform textarea {
  width: 20rem;
  height: 90px;
  padding: 5px;
}
/* ------------------------------------------------------------------------------ */
.sidebar {
  position: fixed;
  width: 30%;
  height: 100vh;
  right: 5px;
  overflow-y: auto;
  background: url(../img/side-bg.png) #292929;
  color: #eee;
}
.sidebar .col {
  position: relative;
  width: 90%;
  float: none;
  margin: 0 auto 10px;
  padding: 17px 20px;
}
.sidebar .col:after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  box-sizing: border-box;
  z-index: -1;
}
.sidebar a {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  color: #eee;
}
.sidebar a:hover {
  border-bottom: 1px solid rgba(255,255,255,0.99);
}
.logo {
  margin: 5px auto 0px;
  text-align: center;
}
.logo a,
.logo a:hover {
  border: none;
}
.tagline,
.nav,
.s-contacts,
.copyright {
  text-align: center;
  background: rgba(0,0,0,0.4);
  border-radius: 3px;
}
.nav,
.s-contacts,
.copyright {
  text-align: left;
}
.nav ul {
  margin: 0;
  padding:0;
  list-style: none;
}
.nav li {
  margin-bottom: 5px;
}
.nav li ul {
  padding: 0 20px;
}
.s-contacts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.copyright {
  margin-bottom: 5px;
}
.copyright ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dev {
  font-size: 80%;
}
/* ------------------------------------------------------------------------------------------------------------------------------------ */



@media screen and (min-width: 1367px) and (max-width: 1920px) {

}

@media screen and (max-width: 900px) {

}

@media screen and (max-width: 780px) {

}

@media screen and (max-width: 550px) {

}