/*
Theme Name: Dyad para R.C. Representaciones
Theme URI: https://wordpress.com/themes/dyad/
Description:  Tema derivado de Dyad, personalizado para R.C. Representaciones
Version: 1.0.10-rcr
Author: Automattic
Author URI: http://wordpress.com/themes
Template: dyad
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blue, yellow, dark, responsive-layout, custom-colors, custom-header, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, translation-ready, photoblogging
Text Domain: dyad-rcr
*/

/*----------------------------------------------------
#002647                Footer, algunos fondos
#fcfcfc                Cabecera
rgba(252,252,252,0.8); Cabecera, 0.8
rgba(252,252,252,0.4); Cabecera, 0.4

#ef3054                Resalte
#be0e2e                Resalte -Alt
#d4d4d4                Texto sobre oscuro -Alt
#fff                   Texto sobre oscuro, fondos
#000                   Texto sobre claro
----------------------------------------------------*/

/*----------------------------------------------------
# Formato
----------------------------------------------------*/

/* Texto justificado */
.entry-content {
	text-align: justify;
}

/* Genericon: Icono de compra */
.is-singular:not(.single-productos) .entry-inner:before,
.is-singular:not(.single-productos) .entry-inner:after,
.is-singular:not(.single-productos) .entry-content:before {
	display: none !important;
	margin: 0px;
}

/* Icono de compra en los productos */
.single-productos .entry-inner:before,
.posts .entry-inner:before {
	content: "\f447";
}
.single-productos .entry-inner:after {
	background-color: #ef3054;
}

/* Producto: Modelo */
.entry-prodmodel {
	font-weight: bold;
}
.posts .entry-prodmodel {
	text-align: center;
}
.single .entry-prodmodel {
    padding-bottom: 2em;
}
.posts .entry-prodmodel,
.posts .entry-content {
    padding-top: 1rem;
}

/* Maps */
.google-maps {
	position: relative;
	padding-bottom: 57%; // This is the aspect ratio
	height: 0;
	overflow: hidden;
	margin: 2em 0px 4rem 0px;

}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/*  */
@media only screen and (max-width: 1200px) {
    .is-singular .entry-content, .is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-content {
        padding-bottom: 3rem;
    }
}

@media only screen and (max-width: 680px) {
    .is-singular .entry-content, .is-singular:not(.home) .entry-content, .is-singular.has-post-thumbnail:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-content {
        padding-bottom: 2rem;
    }
}

/*--------------------------------------------------------------
# Colores
--------------------------------------------------------------*/

/* Cuerpo ----------------------------------------------------*/
body, .site {
	background-color: #002647;
}

pre:before {
	background-color: #ef3054;
}

/* Cabecera --------------------------------------------------*/
.site-header {
	color: #002647;
	background-color: rgba(252,252,252,0.8);
}
.home .site-header,
.blog .site-header {
	color: #002647;
	background-color: rgba(252,252,252,0.4);
}
.site-banner {
	color: #002647;
	background-color: #fcfcfc;
}
@media only screen and (max-width: 960px) {
	.site-header,
	.is-scrolled .site-header,
	.blog .site-header,
	.home .site-header {
		color: #002647;
		background-color: #fcfcfc;
	}
	#site-navigation ul li {
		color: #002647;
		border-top: 1px solid #fcfcfc;
	}
	#site-navigation ul a {
		color: #002647;
	}
}
/* Marcador de Producto Destacado */
.site-banner-header .banner-featured {
    background: #ef3054;
}
/* Navegacion de Contenido */
.site-banner .slick-prev, .site-banner .slick-next {
    color: #000;
	opacity: 0.7;
}
/* Texto */
.site-banner {
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}
/* Bordes */
#site-navigation ul ul:before {
	border-color: transparent transparent #fcfcfc transparent;
}
#site-navigation ul ul ul:before {
	border-color: transparent transparent transparent #fcfcfc;
}
/* Links */
.site-banner a, .site-banner a:hover, .site-banner a:focus {
    color: #000;
}
#site-navigation a,
#site-navigation button {
	color: #002647;
}
#site-navigation ul ul li {
	color: #002647;
	background: #fcfcfc;
}
/* Degradado sobre el Contenido Destacado */
.site-banner .site-banner-media:before,
.banner-custom-header .site-banner-media:before {
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC42Ii8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00FFFFFF', endColorstr='#CCFFFFFF',GradientType=0 ); /* IE6-8 */
}

/* Productos -------------------------------------------------*/
/* Fondo */
.posts {
	background-color: #FFF;
}
.posts .entry-media {
	background-color: #fff;
}
/* Boton "Leer Mas" */
.link-more a {
	background-color: #ef3054;
}
.posts .hentry:hover .link-more a {
	background-color: #ef3054;
}
/* Navegacion de Productos */
.is-singular .post-navigation .nav-links:after {
	background-color: #ef3054;
}
.posts-navigation a {
	background-color: #ef3054;
	color: #fff;
}
.posts-navigation a:hover {
	background-color: #be0e2e;
}
/* Multimedia */
.is-singular .entry-media {
	background-color: #002647;
}
.is-singular .entry-media-thumb {
	background-color: #002647;
}
/* Lista de Productos */
.infinite-loader {
	background: #002647;
}
#infinite-handle,
.posts-navigation {
	background-color: #002647;
}

/* Footer ----------------------------------------------------*/
.site-footer {
	background-color: #002647;
	color: #d4d4d4;
}
.footer-bottom-info {
	background-color: #002647;
	color: #fff;
}

/* Formulario ------------------------------------------------*/
.wpcf7 input {
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-appearance: none;
	width: 100%;
}
.wpcf7 input[type='submit'] {
	background-color: #ef3054;
	border-color: #ef3054;
	color: #fff;
	font-size: 1.4rem;
	letter-spacing: 0.1em;
	padding: .62em 1.62em;
	text-transform: uppercase;
	width : 100;
}