/* General */

.homepage-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding: 15px 19px;
  background: #fff;
  margin: 0 0 15px;
  border-radius: 5px;
  border: 1px solid #eee;
  border-bottom: 3px solid #dfe0e0;
}

.homepage-content .homepage-post-pinned {
  width: 50%;
}

.homepage-content .homepage-post-list {
  width: 50%;
}

.homepage-content ul li {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #eee;
  margin: 0 0 25px;
  padding: 0 0 10px;
}

.homepage-content .entry-title a {
  color: #222222;
}

.homepage-content .entry-title a:hover {
  color: #d31515;
}

/* Pinned */

.homepage-content .homepage-post-pinned .post-thumb {
  margin-right: 5px;
}

.homepage-content .homepage-post-pinned .entry-title {
  margin-right: 5px;
}

.homepage-content .homepage-post-pinned ul li {
  border-bottom: none;
}

/* List */

.homepage-content .homepage-post-list ul {
  margin-left: 5px;
}

.homepage-content .homepage-post-list ul li img {
  max-width: 120px;
  min-width: 120px;
  height: auto;
}

.homepage-post-list .post-thumb {
  margin: 0 25px 15px 0;
  float: left;
  height: auto;
}

.homepage-content .homepage-post-list .cat-links a {
  font-size: 12px;
}

.homepage-content .homepage-post-list .entry-title {
  font-weight: 700;
  font-size: 24px;
}

/* Rest */

.homepage-post-rest .post-thumb {
  margin: 0 25px 15px 0;
  float: left;
  height: 110px;
}

.homepage-content .homepage-post-rest ul li {
  margin: 0px 5px 25px 0px;
}

.homepage-content .homepage-post-rest ul li img {
  max-width: 200px;
  min-width: 200px;
  height: auto;
}

/* CSS Media Queries for Desktop, Tablet, Mobile */

@media (min-width: 320px) and (max-width: 480px) {
  .homepage-content .homepage-post-pinned img {
    min-width: 260px;
  }
}

@media (max-width: 767px) {
  .homepage-content .homepage-post-pinned {
    width: 100%;
  }
  .homepage-content .homepage-post-list {
    width: 100%;
  }
  .homepage-content .homepage-post-rest {
    width: 100%;
  }

  .homepage-content .homepage-post-pinned .entry-title {
    font-size: 20px;
    text-align: center;
    padding-bottom: 15px;
  }

  .homepage-content ul li {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .homepage-content .homepage-post-list ul li {
    display: flex;
    flex-direction: row;
    text-align: left;
  }

  .homepage-content .homepage-post-rest .entry-title {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .homepage-post-list .post-thumb {
    margin-bottom: 15px;
    margin-right: 15px;
  }

  .homepage-post-rest .post-thumb {
    margin: 0 auto;
    margin-bottom: 15px;
    height: auto;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  #main {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .homepage-post-list .post-thumb {
    margin: 0 15px 15px 15px;
  }
}

@media (min-width: 1024px) and (max-width: 1350px) {
  #main {
    width: 68%;
  }
}

@media screen and (min-width: 1351px) {
  #main {
    width: 820px;
  }
}


.cc-posts-loader {
	width: 100%;
	text-align: center;
	display: none !important;
}

.cc-posts-loader.visible {
	display: block !important;
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-spinner div {
  transform-origin: 32px 32px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 29px;
  width: 5px;
  height: 14px;
  border-radius: 20%;
  background: #333333;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
