/* 
 Theme Name:     comerciando
 Author:         Tags78
 Author URI:     http://www.tags78.es
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- CUSTOM CSS --------------------------- */ 
.sinmar .et_pb_row {
    padding: 0px;
}

.et_pb_section.sinmar {
    padding: 0px;
}

@font-face {
  font-family: 'Aileron Light';
  src: url('/wp-content/themes/comerciando/fonts/Aileron-Light.eot');
  src: local('☺'), url('/wp-content/themes/comerciando/fonts/Aileron-Light.woff') format('woff'), url('/wp-content/themes/comerciando/fonts/Aileron-Light.ttf') format('truetype'), url('/wp-content/themes/comerciando/fonts/Aileron-Light.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
	font-family: 'Nexa Light';
	src: url('/wp-content/themes/comerciando/fonts/Nexa Light.eot');
	src: local('☺'), url('/wp-content/themes/comerciando/fonts/Nexa Light.woff') format('woff'), url('/wp-content/themes/comerciando/fonts/Nexa Light.ttf') format('truetype'), url('/wp-content/themes/comerciando/fonts/Nexa Light.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Nexa Bold';
	src: url('/wp-content/themes/comerciando/fonts/Nexa Bold.eot');
	src: local('☺'), url('/wp-content/themes/comerciando/fonts/Nexa Bold.woff') format('woff'), url('/wp-content/themes/comerciando/fonts/Nexa Bold.ttf') format('truetype'), url('/wp-content/themes/comerciando/fonts/Nexa Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* ESTILS GENERALS */

body {
	font-family: 'Nexa Light';
 }

h1,
.et_pb_blurb_container h4 {
	color: #004d8b;
}

h1, h2,h3, h4, h5 {
	font-family: 'Nexa Bold';
}

p, a, .toggle-cg h5 {
	-ms-transform: scale(1,1.1);
	-webkit-transform: scale(1,1.1);
	transform: scale(1,1.1);
	color: #666;
}

p {
	margin: 20px 0;
	line-height: 1.3em;
	text-align: justify;
}

/* Styling ols
 * From http://www.456bereastreet.com/archive/201105/styling_ordered_list_numbers
 */

ol {
	counter-reset:li; /* Initiate a counter */
	margin-left:0; /* Remove the default left margin */
	padding-left: 2em!important; /* Remove the default left padding */
}

ol > li {
	position:relative; /* Create a positioning context */
	list-style:none; /* Disable the normal item numbering */
	line-height: 1.7em;
}

ol > li:before {
	content:counter(li)'.'; /* Use the counter as content */
	counter-increment:li; /* Increment the counter by 1 */
	/* Position and style the number */
	position:absolute;
	left:-2em;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	width:2em;
	/* Some space between the number and the content in browsers that support
	   generated content but not positioning it (Camino 2 is one example) */
	margin-right:2px;
	font-family: 'Nexa Bold';
}

/* placeholders formularis */
.et_pb_contact p input,
.et_pb_contact p textarea {
	font-family: 'Nexa Light';
}


/* Textos */

.blau {
	color: #004d8b!important;
}

.vermell {
	color: #c7080d;
}

.negre {
	color: #222;
}

.negreta {
	font-weight: 700!important;
}

.negreta-nexa {
	font-family: 'Nexa Bold';
}

.blanc,
.blanc p {
	color: #fff;
}

.esquerra {
	text-align: left;
}

.dreta {
	text-align: right;
}

.centrat {
	text-align: center;
}

/* HEADER */

#main-header {
	padding-top: 30px;
}

#logo {
    max-height: 150%;
    margin-top: -45px;
    /*padding-bottom: 17px;*/
}

.et_header_style_left .logo_container {
	width: 90%;
}

#top-menu-nav ul li a {
	font-family: 'Nexa Light';
	color: #000;
	font-weight: 400;
	font-size: 1.1em;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

#top-menu-nav > ul > li.menu-item > a:hover {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

.submenu li a {
	color: #000;
}

#top-menu ul.sub-menu > li > a:hover {
	background-color: initial;
	opacity: 1;
}

#menu-item-45 ul.sub-menu {
	width: 320px;
}

#menu-item-45 ul.sub-menu > li,
#menu-item-45 ul.sub-menu > li > a {
	width: 100%;
}

#top-menu ul.sub-menu > li:hover {
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.1);
}

#top-menu ul.sub-menu > li > a:after {
	position: absolute;
    top: 5px;
    right: 0;
    font-family: "ETmodules";
    font-size: 16px;
    font-weight: 800;
    content: "5";
}

#top-menu li li {
	padding-top: 2px;
	padding-bottom: 2px;
}

#flags-header {
	position: absolute;
	top: 30px;
	width: 100%;
	text-align: right;
	text-align: right;
	z-index: 999;
}

#flags-container {
	width: 80%;
    max-width: 1080px;
    margin: auto;
}

#flags-header li {
	display: inline-block;
}

.nav li.et-reverse-direction-nav li ul {
	right: auto;
    margin-top: 60px;
}

/* HOME */

#home-empresa, #home-servicios, #wrapper-post-destacat, #home-rsc {
	background-repeat: no-repeat;
    background-size: 120px;
    background-position: 0;
}

#home-empresa {
	background-image: url(/wp-content/uploads/2016/10/empresa.jpg);
}

#home-servicios {
	background-image: url(/wp-content/uploads/2016/11/servicios.jpg);
}

#home-rsc {
	background-image: url(/wp-content/uploads/2016/11/rsc-2.jpg);
}

#wrapper-post-destacat {
	background-image: url(/wp-content/uploads/2016/10/news.jpg);
}

#paq-pymes-home {
    background-image: url(/wp-content/uploads/2016/11/b-pymes-home.jpg), url(/wp-content/uploads/2016/11/pymes.jpg);
    background-repeat: no-repeat;
    background-size: 60%, 120px;
    background-position: right, 0;
}

.et_pb_main_blurb_image {
	text-align: left;
}

.home .et-pb-contact-message p {
	margin: 20px 0 0;
}

.home .et-pb-contact-message ul {
	padding-bottom: 0;
}

.home .et-pb-contact-message {
	max-height: 30px;
}

@media screen and (max-width: 1200px) {

	#home-empresa, #home-servicios, #wrapper-post-destacat, #home-rsc, #paq-pymes-home {
		background-image: none;
	}
	
}

.leer-mas:after {
	content: url(/wp-content/uploads/2016/11/flecha-01-40.png);
	padding-left: 10px;
}

/* form descargar */

#form-home-descargar div h4,
#form-home-descargar .et_contact_bottom_container {
	padding-top: 35px;
	max-width: 300px;
}

/* banners despres de slider home */

.banners-home-petits {
    padding: 20px 40px 40px;
    min-height: 132px;
    height: auto;
    margin-top: 40px;
}

.banners-home-petits h4:last-of-type {
	padding-bottom: 40px
}

#wrapp-ban-hom-petits .et_pb_column_1_3:nth-of-type(1) .banners-home-petits,
#wrapp-ban-hom-petits .et_pb_column_1_3:nth-of-type(3) .banners-home-petits {
	background-color: #004d86;
}

#wrapp-ban-hom-petits .et_pb_column_1_3:nth-of-type(2) .banners-home-petits {
	background-color: #eaeaea;
}

.banners-home-petits .leer-mas:after {
	padding-left: 0;
}

.fletxa-ban-petits {
    position: absolute;
    bottom: 10px;
}
/**/

#wrapper-post-destacat,
#wrapper-post-destacat > div,
#wrapper-post-destacat article {
	padding-bottom: 0;
	margin-bottom: 0;
}

#post-destacat .entry-title,
#post-destacat p {
    padding-left: 54%;
}

#post-destacat .published {
	padding-bottom: 0;
}

#post-destacat .post-meta {
	display: none;
}

#post-destacat article > a {
	float: left;
	width: 50%;
}

#post-destacat:after {
	content: "."; 
   	visibility: hidden; 
	display: block; 
}

/* 3 posts destacats */

@media (min-width: 981px) {
	#grid-destacats .column.size-1of3 {
	    width: 31.666%;
	    margin-right: 2.5%;
	}
}

#grid-destacats {
	padding-top: 20px;
}

#grid-destacats article .post-content {
	display: none;
}

#grid-destacats article {
	background-color: #004e8e;
	border: none;
}

#grid-destacats a,
#grid-destacats p {
    color: #fff;
}

#grid-destacats .size-1of3:nth-child(2) article {
	background-color: #efefef;
}

#grid-destacats .size-1of3:nth-child(2) a,
#grid-destacats .size-1of3:nth-child(2) p {
    color: #000;
}

#grid-destacats .post-meta {
	margin-top: 0;
}

p.separador {
    margin: 0 0 20px 0;
    font-weight: 700;
}


/* RSC */

.toggle-cg {
	border: none;
	padding: 4px 8px;
}

.toggle-cg h5,
.et_pb_toggle_open h5.et_pb_toggle_title {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.3em;
	font-family: 'Nexa Light';
	color: #666;
}

.toggle-cg h5:before,
.et_pb_toggle_open .et_pb_toggle_title:before {
	content: url(/wp-content/uploads/2016/11/flecha-download-20.jpg);
}

.descarregar {
	font-size: 17px;
	padding-right: 30px;
}

.descarregar:before {
	position:absolute;
	content: url(/wp-content/uploads/2016/11/flecha-download-base-20.jpg);
    right: 0;
    margin-top: 2px;
}

.enllassos p a {
    font-size: 13px;
    font-family: 'Nexa Bold';
    color: #fff;
}

#noticies:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
}

.text-entrat {
	padding-left: 15px;
}

/* Empresa */

#post-215 .home-paq-pymes {
	margin-top: 40px;
}


/* Mercados */

.partners-cg {
	padding: 15px;
	background-color: #004e8e;;
}

#partners-estrategicos .et_pb_column_2 .partners-cg {
	background-color: #eaeaea;
}

.descr-partners {
	font-size: 18px;
    font-family: 'Nexa Bold';
    text-align: left;
}

.partners-cg img {
    margin-top: -20px;
    padding-bottom: 30px;
}


/* E-solutions */

.grid-esolutions div div {
	padding-left: 90px;
	padding-right: 70px;
}


/* Paqetes para pymes*/

.home-paq-pymes {
    padding: 60px 40px;
    border: 5px #fff solid;
    margin-top: 12px;
}

.home-paq-pymes p {
	margin: 0;
}

/* BLOG */

.comment_area {
	max-width: 500px;
}

article h2.entry-title a {
	padding-bottom: 10px;
}

@media screen and (min-width: 1200px) {

	#post-6076 article a,
	#post-6463 article a {
		width: 50%;
		float: left;
		padding-right: 30px;
	}

	#post-6076 article a.more-link,
	#post-6463 article a.more-link {
		float: right;
		text-align: right;
	}

	#post-6076 article:after,
	#post-6463 article:after {
		content: "."; 
   		visibility: hidden; 
		display: block; 	
		clear: both;
	}
}

/* CONTACTO */

#post-6082 h6 {
	font-size: 18px;
}

#post-6082 p,
#post-6082 h6 {
    color: #999;
}

#et_pb_contact_asunto_1 {
	margin-bottom: 12px;
}


/* Servicios */

/* Mkting Digital */

.div-gris-mkdigital,
.div-blau-mkdigital {
	padding: 25px 15px;
}

.div-gris-mkdigital li,
.div-blau-mkdigital li {
	list-style: none;
}

.div-gris-mkdigital li:before,
.div-blau-mkdigital li:before {
	content: '\2022';
	position: absolute;
	left: 0;
	color: #db3539;
}


.div-gris-mkdigital,
.gris-paqpymes {
	background-color: #ededed;
}

.div-blau-mkdigital, .div-blau-mkdigital p, .div-blau-mkdigital h2, .div-blau-mkdigital h4,
.blau-paqpymes, .blau-paqpymes p, .blau-paqpymes h4, .blau-paqpymes h2 {
	background-color: #1c4f8e;
	color: #fff;
}


/* Paq Pymes */

.gris-paqpymes, .blau-paqpymes {
	padding: 38px 25px 25px 115px;
	height: 220px;
	/*overflow: hidden;*/
}

.gris-paqpymes h4, .blau-paqpymes h4 {
    text-transform: lowercase;
    font-size: 16px;
}

.gris-paqpymes h4:first-letter, .blau-paqpymes h4:first-letter {
    text-transform: uppercase;
}

.gris-paqpymes p, .blau-paqpymes p {
	line-height: 1.1em;
    font-size: .9em;
}

.number-paqpymes {
    position: absolute;
    left: -88px;
    top: 25px;
    font-size: 6em!important;
}

#post-6136 > div > div.et_pb_section.et_pb_section_1.et_section_regular > div.et_pb_row.et_pb_row_0 > div.et_pb_column.et_pb_column_1_2.et_pb_column_0 > div > div > div.number-paqpymes {
    left: -70px;
}

#post-6136 > div > div.et_pb_section.et_pb_section_1.et_section_regular > div.et_pb_row.et_pb_row_4 > div.et_pb_column.et_pb_column_1_2.et_pb_column_9 > div > div > div.number-paqpymes {
    left: -100px;
}

.modals-servicios {
	/*content: '\002B';*/
	color: red;
    font-size: 4em;
    position: absolute;
    /*bottom: 35px;*/
    /*bottom: 25px;*/
    /*left: 110px;*/
    font-family: 'Aileron Light';
}

/* últim box */

.et_pb_column_9 .blau-paqpymes {
	padding-left: 135px;
}

.et_pb_column_9 .modals-servicios {
	/*left: 130px;*/
}

/* modals */

#emodal-overlay {
	background-color: rgba(255, 255, 255, .5)!important;
}

a.tancar-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px!important;
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
	.emodal {
		left: 40%!important;
	    width: 40vw!important;
	    margin-left: -10vw!important;
	}
}

.emodal-content {
	padding: 15px 25px 25px 95px;
}

#eModal-10 .emodal-content {
	padding-left: 125px;
}

.emodal, .emodal p, .emodal a, .emodal div {
	font-family: 'Nexa Light'!important;
    font-size: 12px;
    color: #333!important;
}

.emodal .number-paqpymes {
	color: #004d8b!important;
	left: 35px;
}


/* Servicios - Estrategias internacionales */

.overlay-estr-int:after {
	position: absolute;
	content: '';
	background-size: cover; /* Make overlay fit the window of our original image */
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
    background-color: rgba(0,0,0,0.5);
}

/* FOOTER*/

#footer-widgets .footer-widget li:before {
	display: none;
}

.footer-widget h4 {
	color: #fff;
}

.footer-widget:first-child h4 {
	padding-left: 10px;
}

.footer-widget:nth-child(2) h4 {
    padding: 0 0 30px 35px;
}

.wpcf7 label {
	color: #fff;
}

.wpcf7 p {
	padding-top: 5px;
}

#footer-bottom {
	display: none;
}

@media only screen and (min-width: 981px) {
	.et_header_style_left #et-top-navigation nav > ul > li.menu-item > a {
		padding-bottom: 35px;
	}
	#main-footer .footer-widget:nth-of-type(2) {
		width: 45%;
	}
	#text-2 {
		padding-left: 100px;
	}
}

/* Politica Privacidad */
#pol-privacidad-es,
#pol-privacidad-en,
#pol-privacidad-fr,
#pol-privacidad-de {
	display: none;
}