/* COPYRIGHT
------------------------------------------------------------------  
  Portal for Drupal 8.x - Version 1.0                           
  Copyright (C) 2017 esors.com All Rights Reserved.           
  @license - Copyrighted Commercial Software                   
------------------------------------------------------------------  
  Theme Name: Portal News                                          
  Author: ESORS                                           
  Date: 5th January 2017                                        
  Website: http://www.esors.com/                              
------------------------------------------------------------------  
  This file may not be redistributed in whole or   
  significant part.                                            
----------------------------------------------------------------*/

/* Common
----------------------------------------------------------------*/
.block-views h4 {
  font-size: 1.125rem;
}

.block-views ul.no-bullet {
  margin-bottom: 0;
}

.block-views ul.no-bullet li {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.block-views ul.no-bullet li:last-child {
  margin-bottom: 0;
}

/* ARTICLE
----------------------------------------------------------------*/
/* Headline
---------------------------------*/
.block.views-block-post-headline > .inner {
  padding: 1.875rem 0.9375rem 0 0.9375rem;
}

.block-post-headline .column .inner {
  position: relative;
  margin-bottom: 1.875rem;
}

.block-post-headline .image-default {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.block-post-headline .image-default a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: transparent;
}

.block-post-headline .category a {
  position: absolute;
  left: 1.875rem;
  top: 1.875rem;
}

.block-post-headline .content h3 {
  font-size: 1.1875rem;
  margin-bottom: 1.25rem;
}

.block-post-headline .column-1 .image-default,
.block-post-headline .column-2 .image-default {  
  height: 400px;
}

.block-post-headline .column-1 .content,
.block-post-headline .column-2 .content {  
  position: absolute;
  left: 2.5rem;
  bottom: 0.9375rem;
  width: 75%;
}

.block-post-headline .column-1 .content h3,
.block-post-headline .column-2 .content h3 {  
  display: inline;
  line-height: 1.85;
  padding: 0.3125rem 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 10px 0 0 rgba(0, 0, 0, 0.8), -10px 0 0 rgba(0, 0, 0, 0.8);
}

.block-post-headline .column-1 .category,
.block-post-headline .column-2 .category {  
  margin-left: -10px;
}

.block-post-headline .column-1 .category a,
.block-post-headline .column-2 .category a {  
  position: static;
  margin-bottom: 1px;
}

.block-post-headline .column-1 .author,
.block-post-headline .column-2 .author {  
  display: inline-block;
  padding: 0.3125rem 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 10px 0 0 rgba(0, 0, 0, 0.8), -10px 0 0 rgba(0, 0, 0, 0.8);
}

.block-post-headline .column-1 .date,
.block-post-headline .column-2 .date {
  display: none;  
}

@media screen and (min-width: 40em) {
  .block-post-headline .row .column {  
    width: 50%;
  }

  .block-post-headline .row .column-1 {
    width: 100%;
  }

  .block-post-headline .row .column-2,
  .block-post-headline .row .column-4 {  
    clear: both;
  }

  .block-post-headline .column-1 .content h3 {  
    font-size: 1.9375rem;
    line-height: 1.6;
    padding: 0.3125rem 0;
  }
}

@media screen and (min-width: 75em) {
  .block-post-headline .row .column {  
    width: 33.33333%;
  }

  .block-post-headline .row .column-1 {
    width: 66.66666%;
  }

  .block-post-headline .row .column-2,
  .block-post-headline .row .column-4 {  
    clear: none;
  }

  .block-post-headline .row .column-3 {  
    clear: both;
  }
}

/* Top Story
---------------------------------*/
.block-post-top ul {
  counter-reset: section; 
}

.block-post-top li {
  position: relative;
  padding-left: 3.125rem;
}

.block-post-top li:before {
  position: absolute;
  left: 0;
  top: 40px;
  counter-increment: section;
  content: counter(section)".";
  font-family: 'Merriweather', Georgia, Serif;  
  font-size: 2rem;
  line-height: 1;
}

/* Spotlight
---------------------------------*/
.block-post-spotlight li {
  position: relative;
}

.block-post-spotlight .category a {
  position: absolute;
  top: 60px;
  left: -10px;
}

.block-post-spotlight .image-default {
  width: 90px;
  height: 90px;
  margin-bottom: 0;
}

/* Feature
---------------------------------*/
.views-block-post-feature .title {
  position: absolute;
  z-index: 1;
}

.showcase-feature ul.slick-dots {
  width: auto;
  bottom: 0;
  text-align: left;
  padding: 0.625rem 1.25rem;
}

.showcase-feature .image-default {
  height: 260px;
  padding: 1.875rem;
  margin-bottom: 0;
  background-size: cover;
  background-position: center;
}

.block-post-feature .content {
  position: relative;
  padding: 1.25rem 1.875rem 2.5rem 1.875rem;
  font-size: 0.875rem;
}

.block-views .block-post-feature h4 {
  margin-bottom: 0.9375rem;
}

.showcase-feature .image-default img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-height: none;
  max-width: none;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.block-post-feature .read-more {
  position: absolute;
  right: 30px;
  bottom: 20px;
  font-size: 0.6875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

/* Popular
---------------------------------*/
.block-post-popular h4 {
  margin-bottom: 1.25rem;
}

.block-post-popular .column-1 .inner {
  position: relative;
}

.block-post-popular .column-1 .image-default {
  margin-bottom: 0;
}

.block-post-popular .column-1 .content {
  position: absolute;
  left: 2.5rem;
  bottom: 1.875rem;
  width: 75%;
}

.block-post-popular .column-1 .content h4 {  
  display: inline;
  font-size: 1.1875rem;
  line-height: 1.85;
  padding: 0.3125rem 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 10px 0 0 rgba(0, 0, 0, 0.8), -10px 0 0 rgba(0, 0, 0, 0.8);
}

.block-post-popular .column-1 .category {  
  margin: 0 0 1px -10px;
}

.block-post-popular .column-1 .category a {  
  margin-bottom: 0;
}

.block-post-popular .column-1 .author {  
  display: inline-block;
  padding: 0.3125rem 0;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 10px 0 0 rgba(0, 0, 0, 0.8), -10px 0 0 rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 63.9375em) {
  .block-post-popular .column .image-default {
    float: left;
    width: 100px;
    height: 100px;
    margin-right: 1.875rem;
  }

  .block-post-popular .column-1 .image-default {
    position: relative;
    float: none;
    width: 100%;
    height: 300px;
    margin-bottom: 1.875rem;
    overflow: hidden;
  }

  .block-post-popular .column-1 .image-default img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-height: none;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
  }

  .block-post-popular .column-4 {
    clear: both;
  }
}

/* Trending
---------------------------------*/
.block-post-trending .image-default,
.block-post-trending h4 {
  margin-bottom: 1.25rem;
}

.block-post-trending .meta {
  margin-bottom: 0;
}

/* Highlight
---------------------------------*/
.block-post-highlight li {
  position: relative;
}

.block-post-highlight .category {
  position: absolute;
  top: 165px;
  left: -10px;
}

.block-post-highlight h4 {
  margin-bottom: 1.25rem;
}

.block-post-highlight .meta {
  margin-bottom: 0;
}

.block-post-highlight .image-default {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.block-post-highlight .image-default img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-height: none;
  max-width: none;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

/* Latest
---------------------------------*/
.block-post-latest .category {
  padding-right: 0.625rem;
}

.block-post-latest .category a {
  margin-bottom: 0.9375rem;
}

.block-post-latest h4 {
  margin-bottom: 0;
}

/* Most Read
---------------------------------*/
.block-post-most ul {
  counter-reset: section 1; 
}

.block-post-most .attachment-post-most ul {
  counter-reset: section; 
}

.block-post-most .attachment-post-most .image-default {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.block-post-most .attachment-post-most .image-default img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-height: none;
  max-width: none;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.block-post-most li {
  position: relative;
}

.block-post-most li:before {
  position: absolute;
  left: 0px;
  top: 0px;
  counter-increment: section;
  content: counter(section);
  font-family: 'Merriweather', Georgia, Serif;  
  font-size: 0.75rem;
  text-align: center;
  line-height: 25px;
  width: 25px;
  height: 25px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.block-post-most li .image-default {
  position: relative;
  margin-bottom: 0;
}

.block-post-most .attachment-post-most,
.block-post-most .attachment-post-most .image-default {
  margin-bottom: 1.25rem;
}

/* Related
---------------------------------*/
.views-block-post-related > .inner,
.views-block-blog-related > .inner {
  padding: 0;
}

.block-post-related li,
.block-blog-related li {
  padding-left: 1.25rem;
}

.block-post-related li:last-child,
.block-blog-related li:last-child {
  border-bottom: none !important;
}

.block-post-related li h4,
.block-blog-related li h4 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
}

.block-post-related li .meta,
.block-blog-related li .meta {
  border: 0;
  padding: 0.9375rem 0 0 0;
  margin-bottom: 0;
}

/* Comment
---------------------------------*/
.block-blog-comment li,
.block-post-comment li {
  font-size: 0.875rem;
  padding-top: 0.375rem;
}

.block-blog-comment .user-picture,
.block-post-comment .user-picture {
  padding-right: 1.875rem;
  margin-bottom: 1rem;
}

.block-blog-comment .user-picture img,
.block-post-comment .user-picture img {
  width: 50px;
  height: 50px;
}

.block-blog-comment .meta,
.block-post-comment .meta {
  margin-bottom: 0;
}

.block-blog-comment p:before,
.block-post-comment p:before {
  content: '\f10d';
  font-family: FontAwesome; 
  padding-right: 0.625rem;
}

/* BLOG
----------------------------------------------------------------*/
/* Recent & Popular
---------------------------------*/
.block-blog-recent .date {
  float: left;
  padding-right: 1.125rem;
  margin: 0 1.25rem .5rem 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.block-blog-recent .day {
  display: block;  
  font-size: 1.875rem;
  font-weight: 100;
  line-height: 2.5rem;
}

.block-blog-recent .month,
.block-blog-recent .year {
  display: block;
  font-size: 0.8125rem;
  text-align: center;
  text-transform: uppercase;
}

.block-blog-recent .month {
  font-size: 0.875rem;
}

/* Most Commented
---------------------------------*/
.block-blog-most .image-default {
  margin-bottom: 0;
}

/* AUTHOR
----------------------------------------------------------------*/
#author {
  position: relative;
  margin-bottom: 1.875rem;
}

#author:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -300%;
  width: 300%;
  height: 100%;
}

#author:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -300%;
  width: 300%;
  height: 100%;
}

#author .title h3 {
  text-transform: uppercase;
}

.block-about-author .user-picture {
  float: none;
}

.block-about-author .user-picture img {
  width: 80px !important;
  height: 80px;
}

.block-about-author .media-object-section > div {
  margin-bottom: 0;
}

.block-about-author .user-name {
  font-size: 1.25rem;
  font-weight: bold;
}

.block-about-author .user-title {
  font-size: 0.6875rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
}

.block-about-author .user-profile {
  font-size: 0.9375rem;
  font-weight: 300;
  font-style: italic;
  margin-top: 0.625rem;
}