@font-face {
    font-family: 'Circe';
    fomt-weight: 400;
    src:  url('/public/fonts/circe/Circe-Regular.woff2') format('woff2'),
        url('/public/fonts/circe/Circe-Regular.woff') format('woff');
}
@font-face {
    font-family: 'Circe';
    fomt-weight: 700;
    src:  url('/public/fonts/circe/Circe-Bold.woff2') format('woff2'),
        url('/public/fonts/circe/Circe-Bold.woff') format('woff');
}

html,body {
    padding: 0;
    margin: 0;
}

body {
    background: #333;
    font: 16px 'Georgia', serif;
}

.snfeedhead {
    position: relative;
    color: #fff;
    margin-bottom: 20px;
}
.snfeedhead h1 {
    font-size: 60px;
    font-weight: 600;
    line-height: 1em;
    margin: 0;
}
.snfeedhead h1 .socialnetworks {
    font-weight: normal;
    font-size: 28px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}
.snfeedhead h1 .socialnetworks .fa {
    background: #da1f15;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    text-align: center;
    box-sizing: border-box;
    padding: 8px 1px 0 0;
}
.snfeedhead h1 .socialnetworks .fa+.fa {
    margin-left: 5px;
}
.snfeedhead .tags {
    font-size: 30px;
    font-weight: 500;
}
.snfeedhead .tags span {
    margin-left: 5px;
}
.snfeedhead .tags span+span {
    margin-left: 10px;
}
.snfeedhead .logo {
    position: absolute;
    width: 148px;
    top: 20px;
    right: 0;
}
.snfeedhead .logo img {
    display: block;
    width: 100%;
}


#posts {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.gutter-sizer {
    width: 1.3vw;
}
.post {
    display: inline-block;
    overflow: hidden;
    width: 24%;
    color: #fff;
    background: #da1f15;
    border-radius: 4px;
    margin-bottom: 1.3vw;
}
@media screen and (max-width: 1024px) {
    .post {
        width: 32%;
    }
}
@media screen and (max-width: 800px) {
    .post {
        width: 49%;
    }
}
@media screen and (max-width: 640px) {
    .post {
        width: 99%;
    }
}
.post-image {
    position: relative;
    width: 100%;
    padding-top: 0;
    background-size: cover;
    background-position: center;
}

.post-image.empty {
    height: 0;
}

.post-image img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}
.post-content {
    padding: 18px 20px;
    overflow: hidden;
}
.post-media {
    position: relative;
    width: 100%; 
    overflow: hidden;
}

.post-media-container {
    position: relative;
    width: auto;
    height: auto;
}
.post-media__vk-video,
.post-media__instagram-video,
.post-media__video {
    /* 1:1 aspect ratio by default */
    padding-top: 100%;
}

.post-media__youtube-video {
    /* 16:9 aspect ratio for Youtube by default */
    padding-top: 56.25%;
}

.post-media__vk-video iframe,
.post-media__youtube-video iframe,
.post-media__instagram-video video,
.post-media__video video{
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%
}
.post-text {
    overflow: hidden;
}
.post-author {
    margin-top: 20px;
    line-height: 30px;
    font: 14px "Fira Sans", Arial;
    white-space: nowrap;
}
.post-author a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all .3s ease-in-out;
}
.post-author a:hover {
    border-bottom-color: rgba(255, 255, 255, 1);
}
.post-author .fa {
    font-size: 24px;
    margin-right: 4px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}
.post-author-pic, .social-icon {
    width: 30px;
    height: 30px;
    display: none;
}
.post-author-pic {
    background-size: cover;
    margin-right: 4px;
}
.social-icon {
    background-image: url("/public/img/feed/social-square.png");
}
.social-icon-twitter {
    background-position: -30px 0;
}
.social-icon-vkontakte {
    background-position: -60px 0;
}
.social-icon-facebook {
    background-position: -90px 0;
}
.post-date {
    display: none;
    position: absolute;
    right: 20px;
}

/* Loader */
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
  }
  @-webkit-keyframes spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
  }
  
  .with-spinner:after,
  .with-spinner-empty:after {
      content: '';
      display: block;
      width: 32px;
      height: 32px;
      position: absolute;
      left: 50%;
      margin-left: -16px;
      top: 50%;
      margin-top: -16px;
  }
  
  .with-spinner:not(:required):after,
  .with-spinner-empty:not(:required):after {
      content: '';
      border-radius: 50%;
      border: 3px solid rgba(0, 0, 0, 0.05);
      border-right-color: #03ade0;
      border-left-color: #03ade0;
      animation: spinner 0.9s cubic-bezier(0.75, 0.2, 0.45, 0.2) infinite;
      z-index: 100;
  }