* {
  margin: 0;
  padding: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
ul,
ol,
li {
  list-style: none;
}
input,
textarea,
select {
/*  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;*/
}
body {
  font-family: 'Lato', sans-serif;
  color: #222;
  background: #ffffff;
}
.limit {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.logo {
  font-family: 'Montserrat', sans-serif;
}
header {
  display: block;
  background: #d35151;
  margin-bottom: 25px;
}
header .menu {
  padding: 10px 0;
}
header .menu .logo {
  margin-right: 100px;
}
header .menu li {
  display: inline-block;
  vertical-align: middle;
}
header .menu li a {
  color: white;
  display: block;
  padding: 5px;
  font-size: 14px;
  font-weight: 400;
}
header .menu li a:hover {
  color: black;
}
header .menu li a span {
  font-size: 30px;
}
header .menu li a .icon-down-dir {
  font-size: 12px;
}
header .menu li a .icon-menu {
  position: relative;
  bottom: 2px;
}
header .menu .search {
  float: right;
  position: relative;
  right: 100px;
  bottom: 2px;

}
.photo-image img{
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  margin-bottom: 10px;

}
.cont img{
  max-width: 100%;
  width: 100%;
}
header .menu li a .icon-search {
  color: white;
}
header .menu li a .icon-search:hover {
  color: black;
}
header .menu .logo a {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 200;
  letter-spacing: -2px;
}
header .menu .logo a span {
  font-weight: 500;
  font-size: 30px;
}
main {
  display: block;
  font-size: 0;
  margin: 20px auto;
}
main .content {
  display: inline-block;
  vertical-align: top;
  width: 75%;
  font-size: 16px;
}
main .content .author {
  font-size: 14px;
  margin: 20px auto 0;
  width: 100%;
}
main .content h2 {
  margin: 40px auto 10px;
}
main .content p {
 font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
    font-family: sans-serif;
}
main .content .photo_name {
  text-align: center;
  margin: -15px auto 20px;
  max-width: 600px;
  width: 100%;
}
main .content a {
  color: #0293ce;
}
main .content a.btn {
  display: block;
  border: 1px solid #eb0254;
  color: #eb0254;
  max-width: 600px;
  width: 100%;
  margin: 20px auto;
  padding: 10px;
  border-radius: 7px;
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
main .content a.btn:hover {
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  background: #eb0254;
  color: white;
}
main .content img.center {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 20px;
}

main .content .title {
  width: 100%;
  position: relative;
  margin: 30px auto 30px;
  font-size: 40px;
  font-family: sans-serif;
}
main .content .title span {
  display: inline-block;
  position: absolute;
  padding: 2px 10px;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  left: 0;
  top: -20px;
  font-weight: bold;
  background: #eb0254;
}
main .content .social {
  text-align: center;
}
main .content .social li {
  display: inline-block;
  vertical-align: middle;
  max-width: 200px;
  width: 18%;
  margin: 0 5px;
  border-radius: 3px;
  font-size: 12px;
  color: wheat;
  text-transform: uppercase;
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  -ms-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
main .content .social li:hover {
  opacity: 0.7;
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  -ms-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  transition: opacity 1s ease;
}
main .content .social li .icon-twitter,
main .content .social li .icon-mail,
main .content .social li .icon-commenting-o {
  position: relative;
  bottom: 1px;
}
main .content .social li a {
  color: white;
  font-weight: bold;
  display: block;
  width: 100%;
  padding: 5px 10px;
}
main .content .social li:nth-of-type(1) {
  background: #3e64ad;
  border: 1px solid #3e64ad;
}
main .content .social li:nth-of-type(2) {
  background: #6aadd1;
  border: 1px solid #6aadd1;
}
main .content .social li:nth-of-type(3) {
  background: #de010d;
  border: 1px solid #de010d;
}
main .content .social li:nth-of-type(4) {
  background: #aaaaaa;
  border: 1px solid #aaaaaa;
}
main .content .social li:nth-of-type(5) {
  background: white;
  border: 1px solid #bbbbbb;
}
main .content .social li:nth-of-type(5) a {
  color: #bbbbbb;
}
main .content .social li span {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  margin-right: 4px;
}
#facebook {
  padding: 20px;
  box-sizing: border-box;
  background: #f6f7f9;
  margin-top: 20px;
}
#facebook .avatar {
  width: 32px;
  height: 32px;
  float: left;
}
#facebook .writeComment {
    box-sizing: border-box;
    padding: 0px 0px 10px 0px;
}

}
#facebook .writeComment:before,
#facebook .writeComment:after {
  content: '';
  display: table;
  clear: both;
  width: 100%;
}
#facebook .writeComment .form {
  box-sizing: border-box;
  padding-left: 40px;
}
#facebook .writeComment .form input {
  display: block;
  padding: 7px 5px;
  border: 1px solid #9a9a9a;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
}
#facebook .writeComment .form .inscription {
  font-size: 10px;
  color: #ccc;
}
#facebook .commentsList:before,
#facebook .commentsList:after {
  content: '';
  display: table;
  clear: both;
  width: 100%;
}
#facebook .commentsList .commentItem {
  box-sizing: border-box;
  margin: 10px 0;
}
#facebook .commentsList .commentItem .commentBody {
  padding-left: 40px;
  font-size: 12px;
  line-height: 16px;
}
#facebook .commentsList .commentItem .commentBody p {
  margin-bottom: 0;
  line-height: normal;
}
#facebook .commentsList .commentItem .commentBody .username {
  color: #3b5998;
  font-weight: 600;
}
#facebook .commentsList .commentItem .commentBody .commentAction a {
  color: #3b5998;
  text-decoration: none;
}
#facebook .commentsList .commentItem .commentBody .commentAction .circle {
  font-size: 7px;
  position: relative;
  top: -2px;
  padding: 0 5px;
}
#facebook .commentsList .commentItem .commentBody .commentAction .likeImage {
  position: relative;
  top: 8px;
  width: 25px;
  height: 25px;
}
#facebook .commentsList .commentItem .commentBody .commentAction .likeCount {
  color: #ccc;
}
#facebook .commentsList .commentItem .commentBody .commentAction .time {
  color: #ccc;
}
main .sidebar {
  display: inline-block;
  vertical-align: middle;
  width: 25%;
  font-size: 16px;
  padding-left: 25px;
}
main .sidebar .line {
  height: 3px;
  background: #eeeeee;
}
main .sidebar h3 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
main .sidebar h3:before {
  content: '';
  background: #eb0254;
  display: inline-block;
  width: 100%;
  height: 3px;
  position: absolute;
  top: -4px;
  left: 0;
}
main .sidebar .banner {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
}
main .sidebar .news {
  margin: 0 auto 20px;
}
main .sidebar .news .news_item {
  display: block;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #dddddd;
}
main .sidebar .news .news_item img {
  float: left;
  width: 80px;
  height: 80px;
  margin-right: 10px;
}
main .sidebar .news .news_item p {
  min-height: 80px;
}
main .sidebar .news .news_item p a {
  color: #222;
}
main .sidebar .news .news_item p a:hover {
  color: #949494;
}
footer {
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 10px;
  background: #333333;
  color: #777;
}
@media screen and (max-width: 1450px) {
  main .sidebar {
    width: 25%;
  }
  main .content {
    width: 75%;
  }
}
@media screen and (max-width: 1200px) {
  header .menu .search {
    right: 10px;
  }
}
@media screen and (max-width: 1000px) {
  header .menu .search {
    display: none;
  }
  header .menu li:nth-of-type(3n) {
    display: none;
  }
  main .sidebar {
    display: none;
  }
  main .content {
    width: 100%;
    display: block;
    padding: 0 10px;
  }
}
@media screen and (max-width: 700px) {
  header .menu li {
    display: none;
  }
  header .menu li.logo {
    display: inline-block;
    margin-right: 0;
  }
  header .menu li:nth-of-type(1) {
    display: inline-block;
  }
  main .content .social li {
    font-size: 0;
  }
  main .content .social li {
    margin: 0 1%;
    width: 16%;
  }
  main .content .title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  main .content p {
    margin-bottom: 15px;
  }
  main .content img.center {
    margin-bottom: 15px;
  }
}
