/*
Theme Name: Ewec
Theme URI: http://www.everywomaneverychild.org/
Author: blossom
Author URI: http://www.blossoming.it
Description: Theme for Ewec
Version: 1.0
License: GNU General Public License
License URI: GPL.txt
Tags: editor-style, custom-menu, blossom, redvolver, ewec
Text Domain: redvolver
*/

/* Twitter feed override */
body #ctf #ctf-more {
	display: block;
	margin: 30px auto 0;
	padding: 9px 20px;

	width: 180px;

	color: #fff;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 2px;

	border: 1px solid #fff;
	border-radius: 22px;

	background-color: transparent;
}

body #ctf #ctf-more:hover {
	color: #000;
	background-color: #fff;
}

body #ctf .ctf-item {
	position: relative;
	display: flex;
	width: 33.33%;
	padding: 20px 50px 40px 20px;
	flex-flow: column wrap;
	border-radius: 5px;
	border: none;
	overflow: hidden;
	word-break: break-word;
}

body #ctf .ctf-item > .ctf-context,
body #ctf .ctf-item > .ctf-author-box,
body #ctf .ctf-item > .ctf-tweet-content {
	width: 100%;
}

@media screen and (max-width: 1024px) {
	body #ctf .ctf-item {
		width: 50%;
	}
}

@media screen and (max-width: 767px) {
	body #ctf .ctf-item {
		width: 100%;
	}
}

body #ctf .ctf-item:after {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;

	width: calc(100% - 30px);
	height: calc(100% - 30px);
	
	display: block;
	content: '';

	border-radius: 5px;
	background-color: #fff;
}

body .ctf-tweet-content {
	margin-bottom: 30px;
}

body .ctf-tweet-actions {
	position: relative;
	margin-top: auto;
	padding-top: 18px;
	height: auto;
}

body .ctf-tweet-actions:before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 110%;
	height: 1px;
	
	display: block;
	content: '';

	background-color: #eee;
	transform: translate(-50%, 0);
}