/*

Theme Name: X - Child Theme: Renew
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Renew in this child theme.
Version: 1.0.0
Template: x

*/

@import url('/wp-content/themes/x/framework/css/dist/site/stacks/renew.css');

/*************
**************
1.HEADER
2.HOMEPAGE
3.GENERAL
4.TYPOGRAPHY
5.SHORTCODES
6.IMAGES
7.PORTFOLIO
**************
**************/ 

/*************
***1.HEADER***
**************/

/* NAVBAR */
.x-navbar {
opacity: 0.9;
    filter: alpha(opacity=90); /* For IE8 and earlier */}

.x-navbar:hover {
opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

/* LOGO */
.x-logobar {
text-align: left;
background-size: 100% auto;
}

div.x-recent-posts-img {
background-color: white;
}

/*************
**2.HOMEPAGE** 
**************/
div.x-iso-container .category-feature .entry-wrap {
background-color: #e5e5e5;
border: none;
}

/*Removes border */
div.x-recent-posts a {
border: none;
}

/* POST CATEGORY */
div.latest-post-cat {
color: white;
background-color: black;
padding: 0 0.5em;
font-weight: 500;
text-transform: uppercase;
display: inline;
margin-bottom: 0.5em;
}

.category-feature .latest-post-cat {
display: none;
}

/* RECENT POSTS MAIN*/ 
/* TITLE */ 
div.x-recent-posts.cf.horizontal h3.h-recent-posts {
font-size: 2em;
font-weight: 900;
white-space: normal;
}

span.x-recent-posts-excerpt {
font-size: 1.1em;
color: black;
margin: 2em 0 0 0;
}

/* DATE */ 
div.x-recent-posts .x-recent-posts-date {
font-size: 0.9em;
margin: 0.5em 0;
}

/* RECENT POSTS ROUNDUP */ 
/* TITLE */
div.x-recent-posts.cf.vertical h3.h-recent-posts {
font-size: 1.5em;
font-weight: 900;
white-space: normal;
}

div#news-roundup-widget {
background-color: #e5e5e5;
padding: 1em;
margin-bottom: 2em;
}

div#news-roundup-widget .x-recent-posts a {
background-color: inherit;
}

#news-roundup-widget .x-recent-posts-date {
display: none;
}

div.x-recent-posts.vertical {
margin: 0;
}

div.x-recent-posts.vertical a.no-image {
margin-bottom: 0;
}

/*************
***3.GENERAL**
**************/

div.entry-content h2.h3 {
margin: 0 0 0.2em;
}

/* TEXT SELECT */
::-moz-selection { /* Code for Firefox */
    color: white;
    background: #f9d800;
}

::selection {
    color: white; 
    background: #f9d800;
} 

/* LINE HEIGHT */
body {
line-height: 1.4em;
}

/* BLOG PAGE NAME  */
.home .x-header-landmark {
display:none;
} 

/* POST ICON */
body .entry-title:before {
  display: none !important;
}

/* AUTHOR */
.p-meta span:first-of-type {
display: none;
}

/*************
*4.TYPOGRAPHY*
**************/
.source-link {
font-size: 1.2em;
}

.source-portfolio {
background-color: #dd3333;
max-width: 600px;
display: block; 
padding: 0.1em 0.5em;
}

.source-portfolio a {
color: white;
}

h6 {
text-transform: none;
}

/*************
*5.SHORTCODES*
**************/
/* CONTENT_BAND */
#x-content-band-1 {
margin: 2em 0 0.5em;
padding: 0;
}

/* BLOCKQUOTE */ 
.blockquote-excerpt {
font-size: 1.1em;
font-weight: bold;
border-style: hidden;
padding-left: 0;
} 

.blockquote-general {
font-size: 1.1em;
border-style: hidden hidden hidden solid;
}

/* PULLQUOTE */
.x-pullquote {
border: none;
background-color: black;
color: white;
text-align: right;
font-style: italic;
text-weight: 400;
font-size: 1.2em;
}

cite.x-cite {
color: white;
}

/* ENTRY SHARE  */
div.x-entry-share {
border: none;
}

/* ACCORDION */ 
div.x-accordion-inner, div.x-accordion-group {
border: 0;
}

/* LINE */ 
.x-hr {
border-top: 1px solid #e5e5e5; 
}  

.x-column.one-third.last {
border-right: none;
}

/*************
***6.IMAGES***
**************/

/* FEATURED IMAGE  */
.entry-featured {
border: none; 
}

.post .entry-featured {
position: static;
padding: 0px 0 5px 5px;
width: 250px;
float: right;
margin: 25px 5px 0px 10px;
}

.blog div.x-iso-container .entry-featured {
position: static;
padding: 0;
margin: 0.5em 0;
width: 100%;
}

a.entry-thumb, div.entry-thumb, .x-recent-posts a:hover .x-recent-posts-img {
background-color: white;
}

a.entry-thumb:hover img {
  opacity: 0.8;
  filter: alpha(opacity=90);
  zoom: 1; } 

/* IMAGE ICON */ 
a.entry-thumb:hover:before {
  opacity: 0;
  filter: alpha(opacity=0);
  zoom: 1; } 

.x-recent-posts a.with-image:hover img {
 opacity: 0.8;
  filter: alpha(opacity=80);
  zoom: 1; 
}

div.x-recent-posts-img::before {
  opacity: 0;
  filter: alpha(opacity=0);
  zoom: 1; 
}


/* SPECIFIC POST - image across */
#post-8101 .entry-featured {
position: static;
padding: 10px 0 5px 5px;
width: 100%;
max-width: 800px;
float: right;
margin: 35px 5px 0px 10px;
} 

/* hide featured img from map page 
#post-7807 img.attachment-entry-renew.wp-post-image {
    display: none;
} 
*/

#post-8416 div.entry-thumb, #post-8416 img.attachment-entry-renew.wp-post-image {
    display: none;
} 

/*************
*6.PORTFOLIO**
**************/

/* SINGLE POST - removes date */ 
.x-portfolio p.p-meta span:nth-child(2) {
display: none;
}

.x-portfolio p.p-meta a {
text-transform: uppercase;
color: white;
background-color: #dd3333;
padding: 0.2em 1em;
}

.x-portfolio p.p-meta a:hover {
background-color: white;
color: #a01313;
}

/* Removes meta */ 
.single-x-portfolio .entry-extra {
	display: none;
}

/* Layout */ 
h1.entry-title.entry-title-portfolio {
display: inline-block;
}

.single-x-portfolio .entry-header {
margin-top: 0; 
}

article.x-portfolio img.attachment-entry-fullwidth {
padding-right: 1.5em;
padding-bottom: 1.5em;
}

.feedzy-rss {
max-width: 600px;
}

/* MAIN PORTFOLIO PAGE */ 
article.x-portfolio img.attachment-entry-fullwidth {
padding: 1em 0 0 0;
}

/* Removes portfolio type and date from hover slide */
.entry-cover-content span {
display: none;
}

/* ESTILS 18/01/2017 */
#homepage-latest-posts .x-recent-posts .x-recent-posts-img {
    padding-bottom: 0 !important;
}

div.x-recent-posts.cf.horizontal h3.h-recent-posts {
    font-size: initial !important;
    text-align: justify;
}

div.x-recent-posts.cf.vertical h3.h-recent-posts {
    font-size: 1em;
}

div.x-recent-posts-content > span.x-recent-posts-date {
    padding-top: 5px;
    font-size: .70em;
}

.latest-post-cat {
    display: none !important;
}

.x-content-band {
    height: 30%;
}

.post .entry-featured {
    position: relative;
    padding: 0;
    width: auto;
    float: none;
    margin: 10px auto;
}

.post .entry-content.excerpt {
    font-size: .85em;
    margin-top: 0;
}

.post .entry-content.excerpt > p > a {
    display: block;
}

.x-iso-container-posts.cols-3 .entry-title {
    font-size: 1em;
}

nav .x-nav .menu-item {
    border-right: solid 1px #e5e5e5;
}

nav .x-nav .menu-item:last-child {
    border: none;
}

.x-navbar-inner {
    border-bottom: solid 1px #e5e5e5;
}

.x-btn-navbar, .x-btn-navbar.collapsed {
    width: 100%;
}

@media screen and (max-width:1100px) {
    .x-navbar .desktop .x-nav > li > a {
        font-size: 12px !important;
    }
}