/*

COLORES REMFA

AZUL: #3B78FF;

*/

* {
	transition-duration: 0.3s;
}

body {
	font-family: 'Raleway', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #4D4D4D;
	background-color: #F1F1F1;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Teko;
	font-weight: 500;
	font-size: 18px;
}

a,
a:visited {
	color: #3B78FF;
}

/* INICIO BOTON SWIPE UP */  

:root {
	--color-primary: #FFF;
	--color-secondary: #;
	--color-text-light: #fff;
	--space-2: 1rem;
	--box-shadow-1: 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 1px -1px rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

#top {
	position: absolute;
	top: -50px;
	left: 0;
}

.scrollToTop {
	color: #ECF0F1;
	font-size: 1.4em;
	font-weight: 800;
	box-shadow: var(--box-shadow-1);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	outline: none;
	z-index: 9;
	bottom: var(--space-2);
	right: var(--space-2);
	position: fixed;
	opacity: 0;
	visibility: hidden;
	margin: auto;
	background-color: #3C3C3B;	
}
.spacer {
	width: 100vw;
	max-width: 700px;
    height: 200vh;
    background-color: var(--color-secondary);
}

.scrollToTop:hover {
	cursor: pointer;	
	background-color: #3B78FF;	
}

/* FIN DEL BOTON SWIPE UP */

/* INICIO HEADERBAR */

.headerbar {
	top: 0;
	width: 100%;
	min-height: 20vh;
	background-color: #3C3C3B;
	display: grid;
	grid-template-columns: repeat(12, 8.66%);
	grid-column-gap: .18%;
}

.amp-logo {
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row-start: 1;
	grid-row-end: 6;
}

.amp-logo-img {
    margin: 10% 0 0 15%;
}

.amp-logo-img:hover {
	transform: translateX(.2px) translateY(-1.8px);
}

.header-overtop {
	grid-column-start: 8;
	grid-column-end: 12;
	grid-row-start: 2;
	grid-row-end: 3;
	text-align: right;
}

.header-overtop a {
	color: #666666;
	font-size: 11px;
	font-weight: 600;
	margin-left: 8%;
	float: right;
	text-decoration: none;
}

.header-overtop a:nth-child(2) {

}

.headerbar-desktop-menu {
	grid-column-start: 4;
	grid-column-end: 12;
	grid-row-start: 4;
	grid-row-end: 5;
}

#menu-menu-principal li ul {
	display: none;
	transition-duration: 2s;
}

#menu-menu-principal li:hover ul,
#menu-menu-principal li:active ul,
#menu-menu-principal li:focus ul {
	display: block;
	position: absolute;
	margin-top: .33%;
	padding: 1% 1.25%;
	background-color: #3C3C3B;
	margin-left: 0;
	text-align: left;
	transition-duration: 1.25s;
}

#menu-menu-principal li:hover ul li {
	display: block;
	margin-left: 0;
	margin-top: 1%;
	margin-bottom: 2%;
}

#menu-menu-principal li:hover ul li a {
	font-weight: 300;
}

.label-top-menu {
	list-style: none;
	list-style-type: none;
	display: inline-block;
	width: 100%;
    text-align: right;
    float: right;
    margin: 0;
}

.label-top-menu li {
	display: inline-block;
	margin-left: 5%;
	font-size: 11px;
	letter-spacing: 2px;
	font-weight: 600;
	text-transform: uppercase;
	color: #F1F1F1;
	padding: .5% 0;
}

.label-top-menu li:nth-child(1) {
	margin-left: 0;
}

.label-top-menu a {
	color: #F1F1F1;
	text-decoration: none;
	transition-duration: .3s;
}

.label-top-menu a:hover,
.label-top-menu a:active {
	color: #3B78FF;
	border-bottom: 2px solid currentColor;
	font-weight: 800;
}

.burger-butt {
	display: none;
}

.sidebar .nav-item {
	margin: 1% 0;
	padding: 0;
}

.sidebar {
	background-color: #3B78FF;
	min-width: 300px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	width: 300px;
}

.sidebar a {
	color: #fff;
	text-decoration: none;
}

.sidebar a:hover {
	transform: translateX(.2px) translateY(-1.8px);
	text-decoration: underline;
}

.navbar-trigger {
	cursor: pointer;
	font-size: 2rem;
	line-height: 3.5rem;
	outline: none;
	padding-right: 1rem;
	color: #ECF0F1;
}   
    
.label {
	font-size: 0.875rem;
	letter-spacing: 0.06rem;
	line-height: 1rem;
	list-style: none;
	padding: 0;
	text-transform: uppercase;
} 

.nav-item {
	margin: 1% 0;
	padding-left: 1%;
	font-weight: 600;
	margin-bottom: 2.5%;
}

/* FIN HEADERBAR */

/* INICIO HOME */

.row {
	width: 100%;
	min-height: 20vh;
	margin: 0 auto;
}

.row-content {
	width: 90%;
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.199);
}

#bloque1-img {
	background-image: url('/wp-content/themes/REMFA/img/Home-foto-principal.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	min-height: 33vh;
}

#bloque1-container {
    padding: 7.5% 15% 15%;
	margin: 0 auto;
}

#bloque1-header {
	margin: 0 auto;
	padding: 0 25%;
	text-transform: uppercase;
	text-align: center;
}

#bloque1-header h1 {
	font-size: 38px;
	line-height: 2.5rem;
}

#bloque1-header button,
#bloque2-proyectos button {
	background-color: transparent;
	color: #3B78FF;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
    padding: 3.3% 9%;
	border: 2px solid currentColor;
	cursor: pointer;
}

#bloque1-header button:hover,
#bloque2-proyectos button:hover {
    padding: 3.3% 9.5%;
	border: 2px solid currentColor;
}

#bloque2-content {
	padding: 1.5% 0 0 0;
}

h2 {
	font-size: 38px;
    text-transform: uppercase;
    text-align: center;
}

#bloque2-wpeditor p {
	line-height: 1.4rem;
}

#bloque2-wpeditor h2,
#bloque2-blog h2 {
	background-image: linear-gradient(to right, #3B78FF, #3B78FF);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 15.5rem 25px;
    transition: background-size .5s ease;
    margin: 5% 12.5%;
    text-align: center;
}

#bloque2-wpeditor h2:hover {
	background-size: 14.5rem 25px;
}

#bloque2-wpeditor .wpeditor-consultoria {
    background-size: 21rem 25px;	
}

#bloque2-wpeditor .wpeditor-consultoria:hover {
    background-size: 20rem 25px;	
}

#bloque2-blog h2 {
    background-size: 13rem 25px;
}

#bloque2-blog h2:hover {
    background-size: 12rem 25px;
}

.span-line {
	margin: 4% auto;
    width: 7.5%;
    height: 2px;
    background-color: black;
}

.span-line:hover {
    width: 6.5%;
}

.bloque2-p1, #bloque2-p1 {
    padding: 2.5% 25%;
    text-align: center;
    font-size: 16px;
}

#bloque2-wpeditor .bloque2-p1 {
    padding: 1% 25%;
    text-align: center;
    font-size: 16px;
}

#bloque2-wpeditor .wp-block-image {
	margin: 0;
	margin-bottom: 1%;
}

#bloque2-wpeditor p {
	padding: 0 3%;
}

.wpeditor-parrafo1 {
	margin-top: 0;
}

.home-vermas {
	border: 2px solid #3B78FF;
	margin-top: 7.5%;
    margin-left: 3%;    
}

.home-vermas .wp-block-button__link {
	font-size: 11px;
	text-transform: uppercase;
}

.home-vermas:hover {
	padding: 0 .2%;
}

#bloque2-proyectos {
	min-height: 30vh;
}

#proyectos-img {
	background-image: url('/wp-content/themes/REMFA/img/Home-proyecto.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding: 7.5% 20%;
}

#proyectos-textos {
	text-align: center;
	background-color: rgba(255,255,255,.901);
    padding: 5% 10%;
}

#proyectos-textos p {
	padding: 0 7.5%;
	line-height: 1.33rem;
	margin-top: 5%;
}

#bloque2-proyectos h2 {
	margin: 1% 0;
}

#blog-home {
	margin: 0 auto;
    padding: 0 10%;
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 5%;
}

.home-blog-art {
	width: 100%;
	margin: 0;
}

#blog-home .home-blog-art:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 2;
}

#blog-home .home-blog-art:nth-child(2) {
	grid-column-start: 2;
	grid-column-end: 3;
}

#blog-home .home-blog-art:nth-child(3) {
	grid-column-start: 3;
	grid-column-end: 4;
}

.home-blog-art-img {
	width: 100%;
}

.home-blog-art-img:hover {
	transform: translateX(.2px) translateY(-1.8px);
}

.home-blog-art header p {
	font-size: 10px;
	font-style: italic;
	color: #adadad;
    font-weight: 600;
    margin: 0 auto;
}

.home-blog-art header h1 {
	font-size: 14px;
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	font-weight: 600;
}

.home-blog-art footer p {
    font-size: 13px;
}

.home-blog-art footer a {
	color: #3B78FF;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
	margin: 0 auto;
}

.home-blog-art footer a:hover {
	text-decoration: underline;
}

/* FIN HOME */


/* INICIO FOOTER */

.wp-footer {
	min-height: 30vh;
	background-color: #3C3C3B;
}

#footer-content {
	width: 90%;
	margin: 0 auto;
	padding: 3.5% 0;
	position: relative;
}

#footer-content h2 {
	text-align: left;
	color: #F1F1F1;
	background-image: linear-gradient(to right, #3B78FF, #3B78FF);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 8rem 25px;
    margin: 0;
}

#footer-content h2:hover {
	background-size: 7rem 25px;
}

#footer-content p,
#footer-content a {
	color: #F1F1F1;
	text-decoration: none;
	font-size: 12px;
	transition-duration: .9s;
}

#footer-content a:hover {
	text-decoration: underline;
}

.footer-lk, .footer-fb, .footer-ig, .footer-yt {
	width: 4%;
}

.footer-fb, .footer-ig, .footer-yt {
	margin-left: 1.5%;
}

#footer-logo {
	position: absolute;
	right: 0;
	top: 30%;
    text-align: right;
}

.footer-wsi-img:hover,
.footer-logo-img:hover,
.footer-lk:hover, 
.footer-fb:hover, 
.footer-ig:hover,
.footer-yt:hover {
	transform: translateX(.2px) translateY(-1.8px);
}

.footer-wsi-img {
	width: 33%;
    top: -13px;
}

.footer-logo-img {
	margin-left: 2%;
}

/* FIN FOOTER */

/* INICIO NOSOTROS */

#bloque1-img-nosotros {
	background-image: url('/wp-content/themes/REMFA/img/Nosotros-banner-principal.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	min-height: 33vh;
}

.span-line-nosotros {
	margin: 3% auto;
    width: 10%;
    height: 2px;
    background-color: black;
}

.span-lin-nosotros:hover {
    width: 9.5%;
}

#bloque1-header-nosotros {
	text-transform: uppercase;
	text-align: center;
	margin: 0 auto;
}

#proyectos-img-nosotros {
	background-image: url('/wp-content/themes/REMFA/img/Nosotros-proyectos.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	padding: 7.5% 20%;
}

#bloque1-header-nosotros h1 {
    font-size: 68px;
    line-height: 2.5rem;
    margin-bottom: 3%;
}

#bloque1-header-nosotros p {
	font-size: 13px;
}

#proyectos-textos-nosotros {
	text-align: center;
	background-color: rgba(255,255,255,.75);
    padding: 10% 2.5%;
}

#proyectos-textos-nosotros p {
	padding: 0 7.5%;
	line-height: 1.33rem;
	margin-top: 5%;
}

#proyectos-textos-nosotros h2 {
    margin: 1% 0;
    line-height: 2.7rem;
    margin-bottom: 3%;
}

.nosotros-bloque1 {
	padding: 0 20%;
}

#bloque2-wpeditor .nosotros-bloque1-img {
    width: 70%;
    margin: 0 auto;
}

#bloque2-wpeditor .nosotros-subtitulo h2 {
	background-image: none;
    margin: 0 5%;
    text-align: left;
    font-size: 31px;
    border-bottom-style: solid;
}

#bloque2-wpeditor .nosotros-subtitulo p {
	padding: 0 5%;
}

/* FIN NOSOTROS */

/* INICIO CONTACTO */

#bloque1-img-contacto {
	background-image: url('/wp-content/themes/REMFA/img/Remfa_banner_contacto.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	min-height: 33vh;
}

#bloque2-wpeditor-contacto {
	width: 90%;
	margin: 0 auto;
}

.contacto-padding {
	padding: 0 17.5%;
	margin-bottom: 0;
}

.contacto-p-padding {
	padding: 0 25%;
	margin: 0 auto;
}

.contacto-form-1 .wpforms-field-label {
	font-family: Teko;
	font-weight: 500;
	font-size: 18px;	
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
	font-size: 27px;
}

div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: transparent;
    color: #3B78FF;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 1.2% 2%;
    border: 2px solid currentColor;
    cursor: pointer;
}

div.wpforms-container-full .wpforms-form textarea.wpforms-field-medium {
    font-family: Raleway;
}

/* FIN CONTACTO */



/* INICIO SINGLE */


.single-content {
    background-color: #fff;
    width: 80%;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 1%;
}

.single-content p {
	line-height: 1.3rem;
}

#single-top {
	padding: 0 10%;
}

#breadcrumbs, #breadcrumbs a {
	font-family: Teko;
	font-size: 27px;
	text-transform: uppercase;
	color: #000;
	text-decoration: none;
}

#breadcrumbs a {
	font-weight: 500;
}

#breadcrumbs a:hover {
	text-decoration: underline;
}

#single-overtop .breadcrumb_last {
	display: none;
}

#single-titulo h1 {
	font-family: Raleway;
	font-size: 25px;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 5%;
	margin-bottom: 0;
}

#single-etiquetas {
	margin: 2% auto;
	color: #3B78FF;
	font-weight: 600;
	font-size: 13px;
}

#single-etiquetas a {
	text-decoration: none;
}

#single-etiquetas a:hover {
	text-decoration: underline;
}

#single-autor {
	display: grid;
	width: 8.5rem;
}

#single-autor div:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 5;
}

#single-autor div:nth-child(2) {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 2;
	grid-row-end: 3;
    margin-left: -.33rem;
}

#single-autor div:nth-child(2) a {
	color: #4D4D4D;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
}

#single-autor div:nth-child(2) a:hover {
	text-decoration: underline;
}

#single-autor div:nth-child(3) {
	grid-column-start: 2;
	grid-column-end: 3;
	grid-row-start: 3;
	grid-row-end: 4;
	color: #ADADAD;
	font-size: 11px;
	font-style: italic;
    margin-left: -.33rem;
}

#single-autor div:nth-child(1) amp-img {
    border-radius: 100px;
    width: 45px;
}

#single-imagen-extracto {
	display: grid;
	grid-template-columns: repeat(2, 50%);
    margin: 5% 0;
}

#single-image {
	grid-column-start: 1;
	grid-column-end: 2;
	margin: 0;
    margin-top: .2rem;
}

#single-extracto {
	grid-column-start: 2;
	grid-column-end: 3;
	padding-left: 5%;
	margin-top: 0;
	font-weight: 600;
}

#article-body {
	padding: 0 10%;
	padding-bottom: 2.5%;
	text-align: justify;
	font-family: Raleway, 'sans-serif';
	font-size: 16px;
}

.wp-block-embed, .EmbeddedTweet-tweet {
	width: 100%;
	height: auto;
	margin: 1% 0;
}

img.aligncenter, .aligncenter {
	width: 100%;
	height: auto;
	margin: 2% 0;
}

#article-body figure, #article-body blockquote {
	margin: 1% auto;
	width: 100%;
}

#article-body h2,
#article-body h3,
#article-body h4,
#article-body h5,
#article-body h6 {
	font-family: Raleway, 'sans-serif';
}


#article-body h2 {
	font-size: 24px;
	margin: 2% 0;
	text-align: left;
}

#article-body h3 {
	font-size: 22px;
}

#article-body h4 {
	font-size: 20px;
}

#article-body h5, h6 {
	font-size: 18px;
}

.wp-block-image figcaption {
    margin-top: .5em;
    margin-bottom: 1em;
    text-align: center;
    font-style: italic;
    font-weight: 600;
    font-size: 12px;
    color: #4D4D4D;
}

#article-footer {
	padding: 0 10%;
	padding-bottom: 1%;
}

.share-buttons {
    margin: 1% auto;
    text-align: left;
    padding-bottom: 3%;
    border-bottom-style: solid;
}

.share-buttons span {
	font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 1%;
}

amp-social-share {
	border-radius: 14px;
	width: 45px;
	height: 45px;
	vertical-align: middle;
}

amp-social-share:hover {
	transform: translateX(1px) translateY(-1.8px);
	box-shadow: -9px 10px 22px 2px rgba(0,0,0,0.15);
}

.share-buttons amp-social-share:last-child {
    background-color: #3B78FF;
}

#single-rel h2 {
	background-image: linear-gradient(to right, #3B78FF, #3B78FF);
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: 12rem 25px;
    transition: background-size .5s ease;
    margin: 5% 0;
    text-align: left;
}

#single-rel h2:hover {
	background-size: 11rem 25px;
}

#single-rel-arts {
	margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 5%;
}

#single-rel-arts .home-blog-art:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 2;
}

#single-rel-arts .home-blog-art:nth-child(2) {
	grid-column-start: 2;
	grid-column-end: 3;
}

#single-rel-arts .home-blog-art:nth-child(3) {
	grid-column-start: 3;
	grid-column-end: 4;
}

/* FIN SINGLE */



/* INICIO ARCHIVE */

#archive-container {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 1% 5%;
    padding-bottom: 5%;
}

#archive-container .breadcrumb_last {
	font-weight: 300;
	color: #4D4D4D;
}

#archive-container h1 {
	visibility: hidden;
	display: none;
}

#archive-loop {
	margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 5%;
    grid-row-gap: 2.5%;
}

#archive-loop p {
	display: none;
}

#archive-loop h2 {
    font-family: Raleway;
    text-align: left;
    font-size: 14px;
    text-transform: none;
    font-weight: 600;
    margin-top: 1%;
}

#archive-loop .archive-article p:last-child {
	text-transform: uppercase;
	display: inherit;
}

#archive-loop .archive-article p:last-child a {
	font-weight: 600;
	text-decoration: none;
}

#archive-loop .archive-article p:last-child a:hover {
	text-decoration: underline;
}

#archive-loop .archive-article figure {
	margin: 0;
	width: 23.75vw;
	height: 23.75vw;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#archive-loop .archive-article:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 4;
	display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 5%;
}

#archive-loop .archive-article:nth-child(1) h2 {
	font-size: 19px;
	text-transform: uppercase;
	margin-top: 10%;
}

#archive-loop .archive-article:nth-child(1) figure {
	grid-column-start: 1;
	grid-column-end: 3;
	width: 100%;
	height: 50vh;
}

#archive-loop .archive-article:nth-child(1) p {
	display: inherit;
}

#archive-loop .archive-article:nth-child(1) header {
	grid-column-start: 3;
	grid-column-end: 4;
	margin-top: 0;
}

#archive-loop .archive-article header {
	margin-top: 3.3%;
}


#archive-loop .archive-article:nth-child(2) {
	grid-column-start: 1;
	grid-column-end: 2;
}

#archive-loop .archive-article:nth-child(3) {
	grid-column-start: 2;
	grid-column-end: 3;
}

#archive-pagination {
	grid-column-start: 1;
    grid-column-end: 4;
    margin: 2% auto 10% auto;
    text-align: center;
    font-weight: 600;
}

/* FIN ARCHIVE */


/* INICIO PAGE */

#page-button {
	margin-top: 5%;
}

#bloque1-header-archive #page-h1 {
	font-size: 62px;
	line-height: 2.5rem;
	margin-bottom: 2%;
}

#bloque1-header-archive {
	margin: 0 auto;
	padding: 0 17.5%;
	text-transform: uppercase;
	text-align: center;
}

#bloque1-header-archive button {
	background-color: transparent;
	color: #3B78FF;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
    padding: 3.3% 9%;
	border: 2px solid currentColor;
	cursor: pointer;
}

#bloque1-header-archive button:hover {
    padding: 3.3% 9.5%;
	border: 2px solid currentColor;
}

/* FIN PAGE */


/* INICIO MARKETING */

#bloque1-img-marketing {
	background-image: url('/wp-content/themes/REMFA/img/Remfa_banner_marketing.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	min-height: 33vh;
}

amp-selector[role=tablist].tabs-with-selector {
	display: flex;
	margin: 0 auto;
    width: 50%;
}

amp-selector[role=tablist].tabs-with-selector [role=tab][selected] {
	outline: none;
}

amp-selector[role=tablist].tabs-with-selector [role=tab] {
	width: 50%;
	text-align: center;
	padding: var(--space-1);
}

amp-selector.tabpanels [role=tabpanel] {
	display: none;
	padding: var(--space-4);
}

amp-selector.tabpanels [role=tabpanel][selected] {
	outline: none;
	display: block;
}

#bloque2-wpeditor .tabs-with-selector {
	margin-bottom: 5%;
}

#bloque2-wpeditor .tabs-with-selector h2 {
    background-image: linear-gradient(to right,#ffffff,#ffffff);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 7.5rem 25px;
    transition: background-size .5s ease;
    margin: 1% 0;
    text-align: center;
}

#bloque2-wpeditor .tabs-with-selector h2:hover {
	background-image: linear-gradient(to right,#3b78ff,#3b78ff);
    background-size: 10.5rem 25px;
}

#bloque2-wpeditor amp-selector[role=tablist].tabs-with-selector [role=tab][selected] h2 {
    background-image: linear-gradient(to right,#3b78ff,#3b78ff);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 11.5rem 25px;
    transition: background-size .5s ease;
    margin: 1% 0;
    text-align: center;
}

#bloque2-wpeditor amp-selector[role=tablist].tabs-with-selector [role=tab][selected] h2:hover {
    background-size: 10.5rem 25px;
}

#tabpanel-servicios {
	padding: 0 5%;
}

#tabpanel-servicios p:nth-child(1) {
	text-align: center;
	padding: 0 25%;
	font-weight: 600;
}

#tabpanel-servicio-grilla {
	width: 80%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 48.5% 48.5%;
	grid-column-gap: 3%;
}

.tabpanel-servicio-item {
	display: grid;
	grid-template-columns: repeat(4, 25%);
	margin-bottom: 10%;
}

.tabpanel-servicio-item div:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: 2;
	grid-row-start: 1;
	grid-row-end: 2;
	margin-top: 17.5%;
    margin-right: 12.5%;
}

.tabpanel-servicio-item div:nth-child(2) {
	grid-column-start: 2;
	grid-column-end: 5;
	grid-row-start: 1;
	grid-row-end: 2;
}

.tabpanel-servicio-item div:nth-child(2) h3 {
	font-size: 28px;
	line-height: 1.8rem;
	border-bottom-style: solid;
	margin: 0;
	margin-top: 10%;
	text-transform: uppercase;
}

.tabpanel-servicio-item div:nth-child(3) {
	grid-column-start: 2;
	grid-column-end: 5;
	grid-row-start: 2;
	grid-row-end: 15;
	text-align: left;
}

#tabpanel-servicio-grilla .tabpanel-servicio-item div:nth-child(3) p,
.tabpanel-servicio-item div:nth-child(3) p {
	padding: 0;
	text-align: left;
}

.tabpanel-servicio-item-img {
	margin-top: 12.5%;
}

.tabpanel-servicio-item-img amp-img:hover {
	transform: translateX(.2px) translateY(-1.8px);
}

/* FIN MARKETING */



/* INICIO CONSULTORÍA */

#bloque1-img-consultoria {
	background-image: url('/wp-content/themes/REMFA/img/Remfa_banner_consultoria.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	min-height: 33vh;
}

#tabpanel-areas {
	padding: 0 12.5%;
}

#tabpanel-areas p:nth-child(1) {
	text-align: center;
	padding: 0 20%;
	font-weight: 600;
}

.shortcode-servicios {
	margin-left: 5%; 
}

.shortcode-servicios .tabpanel-servicio-item div:nth-child(3) p {
	margin: 0;
}


/* FIN CONSULTORÍA */





/* VERSIÓN MOBILE INICIO */

@media (max-width: 780px) {

	.row-content {
	    width: 95%;
	}

	#bloque1-header {
		padding: 0 1%;
	}

	#bloque1-container {
	    padding: 7.5% 12.5% 25%;
	}

	#bloque2-wpeditor .bloque2-p1 {
	    padding: 3% 5%;
	    font-size: 17px;
	}

	#blog-home {
	    padding: 0 5%;
	    padding-bottom: 25%;
	    display: grid;
	    grid-template-columns: 1fr;
	    grid-column-gap: 0;
	    grid-row-gap: 3%;
	}

	#blog-home .home-blog-art:nth-child(1) {
	    grid-column-start: 1;
	    grid-column-end: 2;
	}

	#blog-home .home-blog-art:nth-child(2) {
	    grid-column-start: 1;
	    grid-column-end: 2;
	}

	#blog-home .home-blog-art:nth-child(3) {
	    grid-column-start: 1;
	    grid-column-end: 2;
	}

	#proyectos-img {
		padding: 15% 2.5%;
	}

	#proyectos-textos {
		padding: 5%;
	}

	#proyectos-textos p {
		padding: 0;
	}

	#bloque2-proyectos h2 {
    	line-height: 2.2rem;
	}

	#footer-content {
    	padding: 7.5% 0;
	}

	.footer-lk, .footer-fb, .footer-ig, .footer-yt {
	    width: 12%;
	}

	#footer-logo {
    	position: relative;
    	right: 0;
		top: 0;
    	text-align: left;
	}

	.header-overtop, .headerbar-desktop-menu {
		display: none;
	}

	.headerbar {
	    min-height: 0;
	    display: grid;
	    grid-template-columns: repeat(12, 1fr);
	    grid-column-gap: 1%;
	}

	.amp-logo {
	    grid-column-start: 1;
	    grid-column-end: 4;
	    grid-row-start: 1;
	    grid-row-end: 4;
	}

	.burger-butt {
	    display: inherit;
	    grid-column-start: 11;
	    grid-column-end: 13;
	    grid-row-start: 2;
	    grid-row-end: 3;
	    color: #fff;
	    font-size: 25px;
	    text-align: center;
	}

	#bloque1-header-archive {
	    padding: 0;
	}

	amp-selector[role=tablist].tabs-with-selector {
	    width: 100%;
	}

	#bloque2-wpeditor .tabs-with-selector {
	    margin-bottom: 5%;
	    padding: 0 2%;
	}

	#bloque1-header-archive #page-h1 {
	    line-height: 3rem;
	}

	.nosotros-bloque1 {
	    padding: 0;
	}

	#bloque2-wpeditor .nosotros-bloque1-img {
	    width: 90%;
	}

	#tabpanel-servicios p:nth-child(1) {
	    text-align: center;
	    padding: 0;
	    margin: 9% 0;
	}

	#bloque2-wpeditor .tabs-with-selector h2 {
	    background-size: 7.5rem 20px;
	    font-size: 30px;
	}

	#bloque2-wpeditor .tabs-with-selector h2:hover {
	    background-size: 7rem 20px;
	}

	#bloque2-wpeditor amp-selector[role=tablist].tabs-with-selector [role=tab][selected] h2 {
	    background-size: 7.5rem 20px;
	}

	#bloque2-wpeditor amp-selector[role=tablist].tabs-with-selector [role=tab][selected] h2:hover {
	    background-size: 7rem 20px;
	}

	#tabpanel-servicio-grilla {
	    width: 100%;
	    grid-template-columns: 1fr;
	    grid-column-gap: 0;
	}

	#tabpanel-areas {
	    padding: 0 5%;
	}

	#tabpanel-areas p:nth-child(1) {
	    padding: 0;
	    margin: 9% 0;
	}

	#proyectos-img-nosotros {
	    padding: 7.5%;
	}

	#proyectos-textos-nosotros {
	    padding: 25% 3%;
	}

	.contacto-p-padding {
	    padding: 0;
	    margin: 10% auto;
	}

	.contacto-padding {
	    padding: 0;
	    margin: 0;
	}

	#archive-container {
	    width: 85%;
	    padding-bottom: 33%;
	}

	#archive-loop {
	    display: grid;
	    grid-template-columns: 1fr;
	    grid-column-gap: 0;
	    grid-row-gap: .5%;
	}

	#archive-loop .archive-article figure {
		margin: 0;
		width: 100%;
		height: 50vh;
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	#archive-loop .archive-article:nth-child(1) {
		grid-column-start: 1;
		grid-column-end: 2;
		display: grid;
	    grid-template-columns: 1fr;
	    grid-column-gap: 0;
	    grid-row-gap: 2%;
	}

	#archive-loop .archive-article:nth-child(1) h2 {
		font-size: 19px;
		text-transform: uppercase;
		margin-top: 10%;
	}

	#archive-loop .archive-article:nth-child(1) figure {
		grid-column-start: 1;
		grid-column-end: 2;
		width: 100%;
		height: 50vh;
	}

	#archive-loop .archive-article:nth-child(1) p {
		display: inherit;
	}

	#archive-loop .archive-article:nth-child(1) header {
		grid-column-start: 1;
		grid-column-end: 2;
		margin-top: 1%;
	}

	#archive-loop .archive-article header {
		margin-top: 3.3%;
	}


	#archive-loop .archive-article:nth-child(2) {
		grid-column-start: 1;
		grid-column-end: 2;
	}

	#archive-loop .archive-article:nth-child(3) {
		grid-column-start: 1;
		grid-column-end: 2;
	}

	#archive-pagination {
		grid-column-start: 1;
	    grid-column-end: 2;
	    margin: 2% auto 10% auto;
	    text-align: center;
	    font-weight: 600;
	}

	#single-top {
	    padding: 0;
	}

	#article-body {
	    padding: 0;
	    padding-bottom: 2.5%;
	    text-align: left;
	    font-size: 17px;
	}

	#single-imagen-extracto {
	    grid-template-columns: 1fr;
	}

	#single-extracto {
	    grid-column-start: 1;
	    grid-column-end: 2;
	    padding-left: 0;
	    margin-top: 2%;
	}

	#article-footer {
	    padding: 0;
	    padding-bottom: 15%;
	}

	#single-rel-arts {
	    grid-template-columns: 1fr;
	    grid-column-gap: 0;
	    grid-row-gap: 1%;
	}

	#single-rel-arts .home-blog-art:nth-child(2) {
	    grid-column-start: 1;
	    grid-column-end: 2;
	}

	#single-rel-arts .home-blog-art:nth-child(3) {
	    grid-column-start: 1;
	    grid-column-end: 2;
	}

}	


/* VERSIÓN MOBILE FINAL */