/*
Theme Name: RTMag Theme
Theme URI: http://ridethrumedia.com/
Author: Ride Thru Media
Author URI: http://ridethrumedia.com/
Description: Tema adaptado para la revista.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: white, black, gray, light, one-column, two-columns, right-sidebar, responsive-layout, custom-background, editor-style, featured-images, full-width-template, sticky-post, theme-options
Text Domain: rtthemes
*/

@import url("reset.min.css"); 
@import url("common.min.css");
/*@import url("css/lightbox.css");*/ 
@import url(https://fonts.googleapis.com/css?family=Merriweather+Sans:400,300,700);


 /* 1. BASE
 * ======================== */	
body{
	margin:0;
	padding:0;
	background-color: #222;
	color:#464646;
	font-family: 'Merriweather Sans', Helvetica, Arial, Sans-Serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 22px;
	/*background:url(../images/bg-paper.jpg) top repeat-y #070707 fixed;*/
}

.content-home{
	/* margin:10px; */
	float: left;
}

/*== Link styles ==*/
a{
	text-decoration: none;
	color: #cccccc;
	transition: all 0.2s ease 0s;
	outline: 0;
}

a:visited {
	color: #aaaaaa;
}

a:hover {
	color: #db0000;
}

::selection {
	color: #FFFFFF;
	background: #272727;
}

::-moz-selection {
	color: #FFFFFF;
	background: #272727;
} 

/* === Pagination === */
.pagination{
	overflow: hidden;
	margin: 30px 0;		
	clear: both;	
}

.pagination  .page-numbers {
	background: #2A2A2A;
	color: #FFFFFF;
	padding: 8px 15px;
	display: inline-block;
	/* margin-right: 6px; */
	margin-bottom: 5px;
}

.pagination a:hover{
	background: #db0000;
}

.pagination .current {
	background: #db0000;
}

/*== Quotes ==*/
blockquote {
display:block;
margin: 0px 0px 15px 0px !important;
font-style: italic;
background: #E2E2E2;
padding: 10px;
clear: both;
color: #868686;
font-family: 'Rajdhani', sans-serif !important;
font-size: 19px !important;
line-height: 22px !important;
text-align: center !important;
}
blockquote img{
margin-top: -30px;
margin-bottom: 0 !important;
border: solid 10px #E2E2E2 !important;
display: block !important;
}
blockquote img.alignleft {
  margin-right: 10px;
}
blockquote img.alignright {
  margin-right: 10px;
}

/*== Headings ==*/
h1,h2,h3,h4,h5,h6 {
	/*font-weight: 700;*/
	line-height: 1.3;
	color: #950000;
	font-family: 'Rajdhani', sans-serif;
}

h1 {
	font-size: 34px;	
	line-height: 1.1;
}

h2 {
	font-size: 28px;	
}

h3{
	font-size: 22px;
	font-weight: 600;
}

h4 {	
	font-size: 20px;
	margin-bottom: 20px;
	font-weight: 600;
}

h5 {	
	font-size: 18px;
}

h6 {
	font-size: 16px;
}
.header{
	width: 100%;
	height: 300px;
	/* margin-bottom:10px */
}
.subhead{
	width: 50%;
	height: 200px;
	float:left;
	/* margin-bottom:10px; */
}
.subhead-first{
	/* margin-right:10px; */
}
#img-parallax {
	top:0;
    position: fixed;
    height: 380px;
    z-index: -10;
}
.title{
	position: relative;
    background: rgba(0, 0, 0, 0.55);
	background: -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0.7)); /*Safari 5.1-6*/
	background: -o-linear-gradient(bottom,rgba(0,0,0,0),rgba(0,0,0,0.7)); /*Opera 11.1-12*/
	background: -moz-linear-gradient(bottom,rgba(0,0,0,0),rgba(0,0,0,0.7)); /*Fx 3.6-15*/
	background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7)); /*Standard*/
    bottom: 0;
	height:100px;
	top:100px;
}
.header .title{
	top:200px;
}
.title h3 {
    margin: 15px;
    position: absolute;
    bottom: 0;
    color: #fff !important;
}
.title h1 {
    margin: 20px;
    position: absolute;
    bottom: 0;
	color:#ffffff;
}
.excerpt-wrap {
    width: calc(100% - 205px);
    float: left;
    padding: 13px 5px 5px 15px;
    position: relative;
    display: block;
    overflow: hidden;
}

.one-third {
    float: left;
    /* margin: 0px 0px 10px 0px; */
    display: block;
    /* padding: 10px; */
    width: 100%;
    background: #313131;/* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#252525, #222222);/* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#252525, #222222);/* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#252525, #222222);/* For Firefox 3.6 to 15 */
    background: linear-gradient(#252525, #222222);
    border-bottom: solid 1px #1B1B1B;
    width: 50%;
    border-top: solid 1px #313131;
}
.one-third:nth-child(2n+1) {
	/* background-color: #404040; */
	clear: left;
}

.one-third h3 {
	color:#FFFFFF;
	font-weight:200;
	border-bottom: solid 1px #555555;
	margin-bottom: 6px;
	padding-bottom: 4px;
	line-height: 1.15em;
}
.one-third p {
	color:#999999;
	font-size: 14px;
	line-height: 20px;
}

.thumb {
    float: left;
}
.pagination{
	/* float: left; */
	/* clear: left; */
	padding: 5px 5px 0 5px;
	margin: 0;
	background: #353535;
}
.backBtn{
	font-size: 14px;
    text-transform: uppercase;
    position: absolute;
    margin: 14px;
	z-index:10;
	color:rgba(255,255,255,0.7);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
}
.backBtn .fa:before{
	font-size:18px;
	margin-right:5px
}
.img-princ {
    top: 0;
    width: 100%;
	height:300px;
}
.img-princ img{
	position: relative;
    margin-top: 0px;
    max-width: none;
    width: 100% !important;
}
.wide-content{
	width: 100%;
    /*top: 300px;*/
    position: absolute;
	background:#FFFFFF;
}
.inner-wrap{
	max-width: 1000px;
	margin:0 auto;
	padding: 20px;
}

/*======= GALLERY ========*/
.gallery {
  margin-bottom: 15px !important;
  background: #525252;
  border-radius: 3px;
  padding-bottom: 10px;
  clear: both;
}
.gallery-columns-1 .gallery-item {
  margin: 10px 10px 0 10px !important;
  width: auto !important;
}
.gallery-columns-2 .gallery-item {
  margin: 10px 0px 0 10px !important;
  width: calc(50% - 15px) !important;
  width: -moz-calc(50% - 15px) !important;
}
.gallery-columns-3 .gallery-item {
  margin: 10px 0px 0 10px !important;
  width: calc(33.3% - 13px) !important;
  width: -moz-calc(33.3% - 13px) !important;
}
.gallery-columns-4 .gallery-item {
  margin: 10px 0px 0 10px !important;
  width: calc(25% - 12.5px) !important;
  width: -moz-calc(25% - 12.5px) !important;
}
.gallery img {
  border: none !important;
  width: 100%;
}
.gallery-caption {
  color: #F0F0F0;
  font-size: 14px;
  padding: 10px !important;
  margin: 0 !important;
  background: #424242;
}
.gallery-item dt{
	margin-bottom: -6px;
}
.content-home a, .content-home a:visited {
    color: #ffffff;
	font-weight:400;
}
.app-thumb {
    height: 200px;
    /* position: relative; */
    width: 150px;
    float: left;
}
.content-home .one-third .fa-angle-right{
	float:right;
	font-size: 50px;
	margin-right: 14px;
	color: #151515;
	top: 94px;
	position: relative;
	right: 0;
}
.one-third .fa-angle-right{
	text-shadow: 0px 0px 5px rgba(150, 150, 150, 1);
}
.content-home .date {
    font-size: 11px;
    text-transform: uppercase;
    font-family: Helvetica, sans-serif;
    color: #777777;
    border-top: solid 1px #333;
    padding-top: 5px;
    margin-top: 10px;
    float: left;
    width: 100%;
}
.menu ul li {
    display: block;
    /* margin: 10px 10px 0 0; */
    /* background: #990000; */
    top: 0;
    float: left;
    list-style: none;
    /* float: left; */
    /* padding: 20px; */
    text-transform: uppercase;
    /* width: calc(25% - 5px); */
}
div.menu {
    /* margin: 0 10px 0 10px; */
    background: url('../images/header-bg-red.png') repeat;
    overflow: auto;
    border-bottom: solid 2px #3E3E3E;
    top: 0;
    z-index: 999;
}

.menu ul {
    margin: 0;
    display: block;
    overflow: hidden;
    float: left;
}
.menu ul li .fa{
	font-size: 22px;
}
.menu ul li.home-icon{
	/* background:#4E4E4E; */
}
.menu ul li a {
    float: left;
    padding: 20px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 100;
    font-size: 20px;
}

.menu ul li a:hover {
    background: #ffffff;
    color: #990000 !important;
}

.menu ul li a:visited {
    color: #ffffff;
}
@media only screen and (max-width: 900px) {
	.one-third{
		width:100%;
		clear:both;
	}
}
@media only screen and (max-width: 600px) {
	.one-third{
		width:100%;
		clear:both;
	}
	.subhead{
		width: 100%;
		height: 200px;
		float:none;
	}
	.app-thumb {
		height: 150px;
		width: 150px;
		float: left;
	}
	.excerpt-wrap p{
		display:none;
	}
	.excerpt-wrap {
    	width: calc(100% - 205px);
	}
	.content-home .one-third .fa-angle-right {
		margin-right: 8px;
		top: 50px;
	}
	.content-home .date{
		border:none;
		margin:0;
		padding:0;
	}
	.content-home .one-third h3{
		font-size:18px;
	}
	.content-home .header {
		height: 400px;
	}
	.content-home .header .title {
		top: 300px;
	}
}
/*@-webkit-keyframes rotate {
    from {-webkit-transform:rotate(0deg) translate3d(0px, 0px, 0px);}
    to {-webkit-transform:rotate(1080deg) translate3d(0px, 0px, 0px);}
}
.fa-angle-right:before{
	-webkit-animation:rotate 2500ms infinite ease-in-out;
}*/

.home-icon ul li a {content: 'Z';}

li.home-icon a {
    display: block;
    font-size: 0 !important;
    padding-bottom: 12px !important;
}

.home-icon a:before {
    content: "\f015";
    font-family: FontAwesome;
    margin-right: 5px;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1;
    padding: 0px;
}

.home-icon a:hover:before {
    color: #990000 !important;
}

.menu .logo {
    display: inline-block;
    float: right;
    width: 170px;
    padding: 14px;
}

.wm-btn {
    padding: 5px 5px 0 5px;
    margin: 0;
    display: block;
    background: #353535;
    float: none;
    clear: both;
    text-align: center;
}

.wm-btn a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #222;
    text-transform: uppercase;
}

.wm-btn a:hover {
    background: #db0000;
}