/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-black-webfont.woff2') format('woff2'),
         url('fonts/gotham-black-webfont.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-bold-webfont.woff2') format('woff2'),
         url('fonts/gotham-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('fonts/gothammedium-webfont.woff2') format('woff2'),
         url('fonts/gothammedium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-book-webfont.woff2') format('woff2'),
         url('fonts/gotham-book-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'gotham';
    src: url('fonts/gotham-light-webfont.woff2') format('woff2'),
         url('fonts/gotham-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}


body {
	font-family: 'gotham', sans-serif;
}

/* HEADER */
.header.has-transparent{
	position: relative;
}

/* header black */
body.page-template-page-transparent-header-light .mfp-close,
body.page-template-page-transparent-header-light .header-main .nav > li > a i,
body.page-template-page-transparent-header-light .header-main .nav > li > a:hover i{
	color: #FFFFFF !important;
	opacity: 1;
}

/* header white */
body.page-template-default .mfp-close,
body.page-template-default .header-main .nav > li > a i,
body.page-template-default .header-main .nav > li > a:hover i{
	color: #231f20 !important;
	opacity: 1;
}

.mobile-nav.nav>li>a {
	padding: 0;
}
.header .header-inner{
	align-items: flex-end;
    padding-bottom: 20px;
}
.mfp-bg.mfp-ready{
	opacity: 1 !important;
}
.mfp-bg{
	top: 99px
}
.mfp-wrap{
	height: calc(100% - 99px);
	top: 99px;
}
.mfp-container{
	width: 100%;
	max-width: 1270px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	padding-left: 15px !important;
	padding-right: 15px !important;
}
.mfp-content{
	vertical-align: top;
	padding-top: 135px !important;
}
.off-canvas .sidebar-menu{
	padding: 0;
}
.off-canvas-center .nav-vertical>li>a, .off-canvas-center .nav-vertical>li>ul>li a {
    justify-content: flex-start;
	font-size: 32px;
	line-height: 42px;
	padding: 0 !important;
	color: white;
	-webkit-text-fill-color: #231f20;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: white;
}

.nav-sidebar.nav-vertical>li.menu-item.active, .nav-sidebar.nav-vertical>li.menu-item:hover{
	background-color: unset;
}
.nav-sidebar.nav-vertical>li.menu-item.active, .nav-sidebar.nav-vertical>li.menu-item:hover a,
.nav-sidebar.nav-vertical>li.menu-item.active, .nav-sidebar.nav-vertical>li.menu-item.current-menu-item a{
	-webkit-text-fill-color: white;
}

.mfp-close{
	top: 40px;
	right: 10px;
}

@media (min-width: 850px) {
	.header .header-inner{
		padding-bottom: 40px;
	}
	.header-main .nav > li > a{
		transform: scale(1.3);
	}
	.mfp-bg{
		top: 169px;
	}
	.mfp-wrap{
		height: calc(100% - 169px);
		top: 169px;
	}
	.mfp-ready .mfp-close{
		top: 85px;
		right: 30px;
	}
	.off-canvas-center .nav-vertical>li>a, .off-canvas-center .nav-vertical>li>ul>li a {
		font-size: 40px;
		line-height: 50px;
	}
	.mfp-content{
		padding-top: 105px !important;
	}
}
@media (min-width: 1300px) {
	.mfp-ready .mfp-close{
		right: 50%;
		transform: translateX(625px) translateY(0) translateZ(1px);
		transition: none;
	}
}

/* GENERAL */
body:not(.home) h1{
	font-size: 35px;
	font-weight: 900;
	text-transform: uppercase;
	color: #231F20 !important;
	-webkit-text-fill-color: white;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #231F20;
	margin-bottom: 20px;
}
body:not(.home) .section.dark h1{
	color: #FFFFFF !important;
	-webkit-text-fill-color: #231F20;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: #FFFFFF;
	
}
@media (min-width: 850px) {
	body:not(.home) h1{
		font-size: 40px;
		margin-bottom: 30px;	
	}
}

/* HOME */
.text-contrast{
    background-color: #000000;
	color: #FFFFFF !important;
}
.text-yellow{
color: #EDE937;
}

/* SERVICIOS */
.services-content{
	margin-top: -23px;
}
@media (min-width: 850px) {
	.services-content{
		margin-top: -20px;
	}
}
.services-content .title h2{
	font-weight: 900;
}
.services-content{
	font-weight: 400;
}

/* CLIENTS */
.clients-name p{
	font-weight: 900;
	text-transform: uppercase;
}

/* EQUIPO */
.box-yellow >div{
	box-sizing: content-box;
}
.box-yellow .stack{
	margin-top: -25px;
}
.box-yellow .stack .text:first-child{
	font-weight: 900;
}

/* PORTFOLIO */
.portfolio-grid .stack p{
	margin-bottom: 0;
}
.portfolio-grid .company p{
	font-weight: 900;
}

/* SINGLE */
.byline{
	display: none;
}
.blog-single .large-10{
	max-width: 100%;
    flex-basis: 100%;
}

/* CONTACTO */
input[type='submit']:not(.is-form),
input[type='submit']:not(.is-form):hover{
	padding: 0;
	background-color: transparent !important;
}
.mensaje {
	min-height: 100px;
}